summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAdrien Gallouët2020-09-15 09:45:35 +0000
committerAdrien Gallouët2020-09-15 09:45:35 +0000
commit21bc77468f7ba41558901e1b88d5da0c3bf3ecd4 (patch)
tree0f227a12fe47bb1e991d9f7e81f2aacef9155aa7 /PKGBUILD
parentd0357a382eda9830088852cf1eb73be70a54fb9e (diff)
downloadaur-21bc77468f7ba41558901e1b88d5da0c3bf3ecd4.tar.gz
Install stripped binary
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0d54a3a0a21..c812aae8c5a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Adrien Gallouët <adrien@gallouet.fr>
pkgname=secret
pkgver=0.10
-pkgrel=3
+pkgrel=4
pkgdesc="A tiny secret store to keep your little secrets"
arch=('x86_64')
url="https://github.com/angt/secret"
@@ -23,6 +23,6 @@ build() {
package() {
cd "$srcdir/$pkgname"
- make DESTDIR="$pkgdir" prefix=/usr install
+ install -D -m0755 -s "$pkgname" "$pkgdir/usr/bin/$pkgname"
install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}