diff options
author | Julian Xhokaxhiu | 2016-10-01 13:14:22 +0200 |
---|---|---|
committer | Julian Xhokaxhiu | 2016-10-01 13:14:22 +0200 |
commit | d8fbbd1593c1ac9f17b83a316b6354ee8580405a (patch) | |
tree | f92e8d1d93c1ee1e1893ef00edae6bb8c6b0ebfa | |
parent | 5424ecfe77fcffa89399430089d5c4125f7ce9b4 (diff) | |
download | aur-d8fbbd1593c1ac9f17b83a316b6354ee8580405a.tar.gz |
Better auto-versioning system
Bump pkgrel in order to force update the package for everyone
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = oscam-git pkgdesc = Open Source Conditional Access Module software pkgver = 11273 - pkgrel = 1 + pkgrel = 2 url = http://www.streamboard.tv/oscam install = oscam.install arch = x86_64 @@ -6,7 +6,7 @@ pkgname=oscam-git pkgver=11273 _gitrev=9ae98a3c4544ae6e85d400c43526d5faf29c0ce0 -pkgrel=1 +pkgrel=2 pkgdesc="Open Source Conditional Access Module software" url="http://www.streamboard.tv/oscam" arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h') @@ -25,7 +25,7 @@ md5sums=('SKIP' pkgver() { cd "$srcdir/oscam" - git describe --always --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { |