summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAdrien Gallouët2020-09-15 09:44:48 +0000
committerAdrien Gallouët2020-09-15 09:44:48 +0000
commit0d76a71a673c2a3699fcff333f4f1e09441d8548 (patch)
tree4a0cbc856d02eb2d37996cae86e90c2690ab1cab /PKGBUILD
parent2808571947f76a87e2312d5e8f504893d894b46c (diff)
downloadaur-totp.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 a93c901e754b..6248732be7d7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Adrien Gallouët <adrien@gallouet.fr>
pkgname=totp
pkgver=0.1
-pkgrel=2
+pkgrel=3
pkgdesc="A tiny command line utility to generate OTP tokens"
arch=('x86_64')
url="https://github.com/angt/totp"
@@ -18,6 +18,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"
}