diff options
author | Frederic Bezies | 2020-12-28 19:37:07 +0100 |
---|---|---|
committer | Frederic Bezies | 2020-12-28 19:37:07 +0100 |
commit | ed537dad478093008755167a5803d9f8ae813ca0 (patch) | |
tree | 83a7947e26a2bda0d2c8292c64f7f08ddf6dc04c | |
parent | 5ae1263bfa4d31cec7de7219baf5c1ef4ba73693 (diff) | |
download | aur-ed537dad478093008755167a5803d9f8ae813ca0.tar.gz |
Fixing PKGBUILD
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 7 insertions, 6 deletions
@@ -1,11 +1,12 @@ pkgbase = gtksu-git pkgdesc = A Qt5-based replacement for gksu - pkgver = 0.0.r98.9372747 + pkgver = r102.a8528e7 pkgrel = 1 url = https://github.com/KeithDHedger/GtkSu arch = any license = GPL makedepends = git + makedepends = automake-1.15 depends = qt5-base provides = gksu conflicts = gksu @@ -1,23 +1,23 @@ # Maintainer: Dominik Fuchs <d.fuchs@mail.com> pkgname=gtksu-git -pkgver=0.0.r98.9372747 +pkgver=r102.a8528e7 pkgrel=1 pkgdesc='A Qt5-based replacement for gksu' arch=('any') url='https://github.com/KeithDHedger/GtkSu' license=('GPL') depends=('qt5-base') -makedepends=('git') +makedepends=('git' 'automake-1.15') conflicts=('gksu') -provides=("gksu ") +provides=('gksu') source=("$pkgname::git+https://github.com/KeithDHedger/GtkSu.git#branch=master") md5sums=('SKIP') pkgver() { cd $pkgname # git describe can't describe anything without tags - printf "0.0.r%d.%s\n" $(git rev-list HEAD --count) $(git rev-parse --short HEAD) + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { @@ -31,4 +31,4 @@ package() { make DESTDIR="$pkgdir" install cd $pkgdir/usr/bin ln -s gtksu gksu -}
\ No newline at end of file +} |