diff options
author | Aidan Harris | 2018-03-18 11:26:57 +0000 |
---|---|---|
committer | Aidan Harris | 2018-03-18 11:26:57 +0000 |
commit | c8645b0aa51ee0cb3854dc260d3db6fc04f6d70d (patch) | |
tree | 5eda965bb01b99d7d9d85fc224757c2959a532c6 | |
parent | 0a1fff18b4328a37fd4b3a4be825d66c87ad8720 (diff) | |
download | aur-c8645b0aa51ee0cb3854dc260d3db6fc04f6d70d.tar.gz |
Update PKGBUILD
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -2,7 +2,7 @@ pkgname=nougat-git _pkgname=nougat -pkgver=v1.r16.g818d21d +pkgver=1.r16.g818d21d pkgrel=1 pkgdesc='Screenshot wrapper' arch=(any) @@ -17,20 +17,18 @@ optdepends=( provides=('nougat') conflicts=('nougat') -pkgver() { - cd "$_pkgname" - git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' -} - source=( "nougat::git+https://github.com/Sweets/nougat.git" ) sha512sums=('SKIP') -package() { - install -dm755 "$pkgdir"/usr/bin +pkgver() { + cd "$_pkgname" + git describe --tags --long | sed -e 's/\([^-]*-g\)/r\1/;s/-/./g' -e 's/^v//g' +} +package() { install -Dm755 "$srcdir"/$_pkgname/$_pkgname "$pkgdir/usr/bin/$_pkgname" install -Dm644 "$srcdir"/$_pkgname/README.md "$pkgdir/usr/share/doc/$pkgname/README.md" |