diff options
Diffstat (limited to 'pcr/libcedrus-git')
-rw-r--r-- | pcr/libcedrus-git/PKGBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/pcr/libcedrus-git/PKGBUILD b/pcr/libcedrus-git/PKGBUILD index bb8fb3d2d..aece47d07 100644 --- a/pcr/libcedrus-git/PKGBUILD +++ b/pcr/libcedrus-git/PKGBUILD @@ -1,11 +1,16 @@ -# Maintainer (Arch): Jens Kuske <jenskuske@gmail.com> +# Maintainer (AUR): Jens Kuske <jenskuske@gmail.com> + +# parabola changes and rationale: +# no changes. + pkgname=libcedrus-git -pkgver=r6.9b243c4 +pkgver=9b243c4 pkgrel=1 pkgdesc="sunxi Video Engine library" arch=('armv7h') url="https://github.com/linux-sunxi/libcedrus" license=('LGPL') +depends=() makedepends=('git') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") @@ -13,16 +18,16 @@ source=("git+https://github.com/linux-sunxi/${pkgname%-git}") md5sums=('SKIP') pkgver() { - cd ${pkgname%-git} - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "$srcdir/${pkgname%-git}" + printf "%s" "$(git describe --tags --long --always | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g')" } build() { - cd ${pkgname%-git} + cd "$srcdir/${pkgname%-git}" make } package() { - cd ${pkgname%-git} + cd "$srcdir/${pkgname%-git}" make DESTDIR="$pkgdir/" prefix="/usr" install } |