diff options
author | Tim Wanders | 2018-08-28 18:19:07 +0200 |
---|---|---|
committer | Tim Wanders | 2018-08-28 18:19:07 +0200 |
commit | a2495ebd59ac8dc5396543bc7de19bd406f85161 (patch) | |
tree | a04caadc1aa754bf239a0e1adbb62e040e4c52fb | |
parent | 8d870363f180bdbc1679ef37cf6c5b278cb76a48 (diff) | |
download | aur-a2495ebd59ac8dc5396543bc7de19bd406f85161.tar.gz |
Sync with upstream
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 3 deletions
@@ -5,7 +5,7 @@ pkgbase = bunny-git url = https://gitlab.com/tim241/bunny arch = any license = GPLv3 - source = git+https://gitlab.com/tim241/bunny.git + source = git+https://gitlab.com/tim241/bunny.git#branch=develop sha256sums = SKIP pkgname = bunny-git @@ -10,12 +10,16 @@ license=('GPLv3') depends=() -source=("git+https://gitlab.com/tim241/${_pkgname}.git") +source=("git+$url.git#branch=develop") sha256sums=('SKIP') +pkgver() { + git describe --tags | sed "s|-|.|g" +} + package() { cd "$_pkgname" - make install prefix="/usr/" destdir="$pkgdir" -j1 + make install prefix="/usr/" destdir="$pkgdir" version="$pkgver" -j1 } |