diff options
Diffstat (limited to 'nmly-git')
m--------- | nmly-git | 0 | ||||
-rw-r--r-- | nmly-git/.SRCINFO | 15 | ||||
-rw-r--r-- | nmly-git/.gitignore | 4 | ||||
-rw-r--r-- | nmly-git/PKGBUILD | 32 |
4 files changed, 51 insertions, 0 deletions
diff --git a/nmly-git b/nmly-git deleted file mode 160000 | |||
Subproject cfe10e5d12edffdabb206c5ca7a916851e732df | |||
diff --git a/nmly-git/.SRCINFO b/nmly-git/.SRCINFO new file mode 100644 index 0000000..c0511f1 --- /dev/null +++ b/nmly-git/.SRCINFO | |||
@@ -0,0 +1,15 @@ | |||
1 | pkgbase = nmly-git | ||
2 | pkgdesc = Bulk rename utility with useful functions | ||
3 | pkgver = 1.1.1.r11.gbdb2577 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/Usbac/nmly | ||
6 | arch = x86_64 | ||
7 | license = MIT | ||
8 | makedepends = git | ||
9 | provides = nmly | ||
10 | conflicts = nmly | ||
11 | source = git+https://github.com/Usbac/nmly.git | ||
12 | sha256sums = SKIP | ||
13 | |||
14 | pkgname = nmly-git | ||
15 | |||
diff --git a/nmly-git/.gitignore b/nmly-git/.gitignore new file mode 100644 index 0000000..05c6d4d --- /dev/null +++ b/nmly-git/.gitignore | |||
@@ -0,0 +1,4 @@ | |||
1 | * | ||
2 | !.gitignore | ||
3 | !.SRCINFO | ||
4 | !PKGBUILD | ||
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' | ||
4 | pkgname="${_pkgname}-git" | ||
5 | pkgver=1.1.1.r11.gbdb2577 | ||
6 | pkgrel=1 | ||
7 | pkgdesc='Bulk rename utility with useful functions' | ||
8 | arch=('x86_64') | ||
9 | url='https://github.com/Usbac/nmly' | ||
10 | license=('MIT') | ||
11 | makedepends=('git') | ||
12 | provides=("${_pkgname}") | ||
13 | conflicts=("${_pkgname}") | ||
14 | source=("git+${url}.git") | ||
15 | sha256sums=('SKIP') | ||
16 | |||
17 | pkgver() { | ||
18 | git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' | ||
19 | } | ||
20 | |||
21 | build() { | ||
22 | make -C "${_pkgname}" LDFLAGS="${LDFLAGS}" | ||
23 | } | ||
24 | |||
25 | package() { | ||
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: | ||