diff options
author | hndrkk | 2022-09-08 19:38:03 +0200 |
---|---|---|
committer | hndrkk | 2022-09-08 19:38:03 +0200 |
commit | a5695ef109eb32797aa49ed402ae47551fc6295e (patch) | |
tree | 90cb0d340b1fc7a8aafcf5501e532b0444cac955 | |
parent | ad95e8156853600f218ffb7ccb1f1037936cf4f6 (diff) | |
download | aur-a5695ef109eb32797aa49ed402ae47551fc6295e.tar.gz |
install specific tagged version, not latest git commit
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 9 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = xkbset pkgdesc = Manage most of the options of XKB extensions from X window interface. pkgver = 0.8 - pkgrel = 2 + pkgrel = 3 url = https://github.com/stephenmontgomerysmith/xkbset arch = i686 arch = x86_64 @@ -10,7 +10,8 @@ pkgbase = xkbset depends = libx11 optdepends = perl-tk: to use the xkbset-gui program provides = xkbset - source = git+https://github.com/stephenmontgomerysmith/xkbset.git + conflicts = xkbset-git + source = https://github.com/stephenmontgomerysmith/xkbset/archive/refs/tags/v0.8.tar.gz md5sums = SKIP pkgname = xkbset @@ -3,7 +3,7 @@ # Contributor: MaurĂcio CA <mauricio.antunes@gmail.com> pkgname=xkbset pkgver=0.8 -pkgrel=2 +pkgrel=3 pkgdesc="Manage most of the options of XKB extensions from X window interface." arch=(i686 x86_64) url="https://github.com/stephenmontgomerysmith/xkbset" @@ -12,7 +12,8 @@ depends=('libx11') makedepends=('git') optdepends=('perl-tk: to use the xkbset-gui program') provides=('xkbset') -source=( "git+https://github.com/stephenmontgomerysmith/xkbset.git" ) +conflicts=('xkbset-git') +source=( "https://github.com/stephenmontgomerysmith/xkbset/archive/refs/tags/v$pkgver.tar.gz" ) md5sums=('SKIP') build() { @@ -21,14 +22,14 @@ build() { -e 's|^(X11BASE=/usr).*|\1|' \ -e 's|^INC_PATH=.*|&/X11|' \ -e 's|^(INSTALL_MAN1=.*)(/.*/.*)|\1/share\2|' \ - -i "$srcdir/$pkgname/Makefile" - cd "$srcdir/$pkgname" + -i "$srcdir/$pkgname-$pkgver/Makefile" + cd "$srcdir/$pkgname-$pkgver" make } package() { install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man1" - cd "$srcdir/$pkgname" + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT" } |