summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 58c7c96c90a1..b595d2effbe3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = totp
pkgdesc = A tiny command line utility to generate OTP tokens
pkgver = 0.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/angt/totp
arch = x86_64
license = BSD
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"
}