diff options
author | Adrien Gallouët | 2020-09-15 09:44:48 +0000 |
---|---|---|
committer | Adrien Gallouët | 2020-09-15 09:44:48 +0000 |
commit | 0d76a71a673c2a3699fcff333f4f1e09441d8548 (patch) | |
tree | 4a0cbc856d02eb2d37996cae86e90c2690ab1cab /PKGBUILD | |
parent | 2808571947f76a87e2312d5e8f504893d894b46c (diff) | |
download | aur-totp.tar.gz |
Install stripped binary
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" } |