summaryrefslogtreecommitdiffstats
path: root/nmly-git/PKGBUILD
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-git/PKGBUILD
parent4a31e5e0f3442a4a5ec9fba94f7bbc2c88312c69 (diff)
downloadpackages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.gz
packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.bz2
packages-31d147b20c67d95a9e306d0749200bf964ac42af.zip
Use actual files instead of submodules
Diffstat (limited to 'nmly-git/PKGBUILD')
-rw-r--r--nmly-git/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/nmly-git/PKGBUILD b/nmly-git/PKGBUILD
new file mode 100644
index 0000000..32ee93e
--- /dev/null
+++ b/nmly-git/PKGBUILD
@@ -0,0 +1,32 @@
1# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
2
3_pkgname='nmly'
4pkgname="${_pkgname}-git"
5pkgver=1.1.1.r11.gbdb2577
6pkgrel=1
7pkgdesc='Bulk rename utility with useful functions'
8arch=('x86_64')
9url='https://github.com/Usbac/nmly'
10license=('MIT')
11makedepends=('git')
12provides=("${_pkgname}")
13conflicts=("${_pkgname}")
14source=("git+${url}.git")
15sha256sums=('SKIP')
16
17pkgver() {
18 git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
19}
20
21build() {
22 make -C "${_pkgname}" LDFLAGS="${LDFLAGS}"
23}
24
25package() {
26 cd "${_pkgname}"
27 install -Dvm755 "${_pkgname}" -t "${pkgdir}/usr/bin"
28 install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}"
29 install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${_pkgname}"
30}
31
32# vim: ts=2 sw=2 et: