summaryrefslogtreecommitdiff
path: root/pcr/libcedrus-git
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-22 06:35:33 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-22 06:35:33 +0100
commitda21d8bf8056d7eb8ab2a949245eed7402d77b3d (patch)
tree546a68768af3b86226ddecc3e8a2550ea41d215a /pcr/libcedrus-git
parent09651163eaeaf54e56c4331b61fd42905008d14b (diff)
downloadabslibre-da21d8bf8056d7eb8ab2a949245eed7402d77b3d.tar.gz
abslibre-da21d8bf8056d7eb8ab2a949245eed7402d77b3d.tar.bz2
abslibre-da21d8bf8056d7eb8ab2a949245eed7402d77b3d.zip
pcr/libcedrus-git: updated to 9b243c4
Diffstat (limited to 'pcr/libcedrus-git')
-rw-r--r--pcr/libcedrus-git/PKGBUILD17
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
}