summaryrefslogtreecommitdiffstats
path: root/nmly
diff options
context:
space:
mode:
authorYigit Sever2021-10-29 01:30:24 +0300
committerYigit Sever2021-10-29 01:30:24 +0300
commit31d147b20c67d95a9e306d0749200bf964ac42af (patch)
treeb0fbe2bb5aa0fec9983746a91d188643ca93466d /nmly
parent4a31e5e0f3442a4a5ec9fba94f7bbc2c88312c69 (diff)
downloadpackages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.gz
packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.bz2
packages-31d147b20c67d95a9e306d0749200bf964ac42af.zip
Use actual files instead of submodules
Diffstat (limited to 'nmly')
m---------nmly0
-rw-r--r--nmly/.SRCINFO12
-rw-r--r--nmly/PKGBUILD30
3 files changed, 42 insertions, 0 deletions
diff --git a/nmly b/nmly
deleted file mode 160000
Subproject f71347755e54fc0530bfeeef5fa8b07d9ca8d88
diff --git a/nmly/.SRCINFO b/nmly/.SRCINFO
new file mode 100644
index 0000000..ed957f7
--- /dev/null
+++ b/nmly/.SRCINFO
@@ -0,0 +1,12 @@
1pkgbase = nmly
2 pkgdesc = Bulk rename utility with useful functions
3 pkgver = 1.1.1
4 pkgrel = 1
5 url = https://github.com/Usbac/nmly
6 arch = x86_64
7 license = MIT
8 source = nmly-1.1.1.tar.gz::https://github.com/Usbac/nmly/archive/v1.1.1.tar.gz
9 sha256sums = d593cd1adb056bf61e6a7e9c72961642727229f5b00e07c0d330d8dc8fb3a0e7
10
11pkgname = nmly
12
diff --git a/nmly/PKGBUILD b/nmly/PKGBUILD
new file mode 100644
index 0000000..f6549cd
--- /dev/null
+++ b/nmly/PKGBUILD
@@ -0,0 +1,30 @@
1# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
2
3pkgname='nmly'
4pkgver=1.1.1
5pkgrel=1
6pkgdesc='Bulk rename utility with useful functions'
7arch=('x86_64')
8url='https://github.com/Usbac/nmly'
9license=('MIT')
10source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
11sha256sums=('d593cd1adb056bf61e6a7e9c72961642727229f5b00e07c0d330d8dc8fb3a0e7')
12
13prepare() {
14 # Add LDFLAGS to Makefile
15 sed -i.bak '/\$(CFLAGS)/s/$/ \$(LDFLAGS)/' "${pkgname}-${pkgver}/Makefile"
16}
17
18build() {
19 export LDFLAGS="${LDFLAGS}"
20 make -C "${pkgname}-${pkgver}"
21}
22
23package() {
24 cd "${pkgname}-${pkgver}"
25 install -Dm755 -t "${pkgdir}/usr/bin" "${pkgname}"
26 install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" 'README.md'
27 install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" 'LICENSE'
28}
29
30# vim: ts=2 sw=2 et: