diff options
author | Chocobo1 | 2018-01-09 03:04:17 +0800 |
---|---|---|
committer | Chocobo1 | 2018-01-09 03:04:17 +0800 |
commit | ab8098703f24b25ef3097504fd6103e6a4fc5c6d (patch) | |
tree | c0b7de60037a68399077eb2c0abae817f5e60d35 | |
parent | fc7f5e224783ac5904df4ea82eeeebc62d8eaa58 (diff) | |
download | aur-ab8098703f24b25ef3097504fd6103e6a4fc5c6d.tar.gz |
upgpkg: libdca-git r100.g76c67bc-1
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = libdca-git pkgdesc = A library for decoding DTS Coherent Acoustics streams - pkgver = 76c67bc - pkgrel = 2 + pkgver = r100.g76c67bc + pkgrel = 1 epoch = 1 url = https://www.videolan.org/developers/libdca.html arch = i686 @@ -1,8 +1,8 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> pkgname=libdca-git -pkgver=76c67bc -pkgrel=2 +pkgver=r100.g76c67bc +pkgrel=1 epoch=1 pkgdesc="A library for decoding DTS Coherent Acoustics streams" arch=('i686' 'x86_64') @@ -20,7 +20,9 @@ sha256sums=('SKIP') pkgver() { cd "libdca" - git describe --always + _rev=$(git rev-list --count --all) + _hash=$(git rev-parse --short HEAD) + printf "r%s.g%s" "$_rev" "$_hash" } build() { |