diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rwxr-xr-x | PKGBUILD | 9 |
2 files changed, 10 insertions, 4 deletions
@@ -1,12 +1,13 @@ pkgbase = stdcdec-git pkgdesc = Stdcdec program to demodulate, decode and parse Inmarsat-C signals - pkgver = 1.0 + pkgver = r11.c9a1689 pkgrel = 1 arch = i686 arch = x86_64 license = GPL depends = libinmarsatc - source = git://github.com/cropinghigh/stdcdec + provides = stdcdec + source = git+https://github.com/cropinghigh/stdcdec md5sums = SKIP pkgname = stdcdec-git @@ -1,16 +1,21 @@ # Stdcdec program to demodulate, decode and parse Inmarsat-C signals # Maintainer: cropinghigh <joinmark60@gmail.com> pkgname=stdcdec-git -pkgver=1.0 +pkgver=r11.c9a1689 pkgrel=1 arch=('i686' 'x86_64') pkgdesc="Stdcdec program to demodulate, decode and parse Inmarsat-C signals" license=('GPL') depends=("libinmarsatc") provides=("stdcdec") -source=("git://github.com/cropinghigh/stdcdec") +source=("git+https://github.com/cropinghigh/stdcdec") md5sums=('SKIP') +pkgver() { + cd "$srcdir/stdcdec" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + build() { cd $srcdir/stdcdec mkdir build |