summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-03 16:50:23 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-03 17:21:09 -0300
commitf0a9a611933eefdb795d651190c76263b7d42f0e (patch)
tree625d88396a7e7e3de2edbf3530707740e9a9ec0d
parent17af7e0814816881101b2697a15e0776428fd705 (diff)
libcedrus-git: add new package to [pcr]
-rw-r--r--pcr/libcedrus-git/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/libcedrus-git/PKGBUILD b/pcr/libcedrus-git/PKGBUILD
new file mode 100644
index 000000000..bb8fb3d2d
--- /dev/null
+++ b/pcr/libcedrus-git/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer (Arch): Jens Kuske <jenskuske@gmail.com>
+pkgname=libcedrus-git
+pkgver=r6.9b243c4
+pkgrel=1
+pkgdesc="sunxi Video Engine library"
+arch=('armv7h')
+url="https://github.com/linux-sunxi/libcedrus"
+license=('LGPL')
+makedepends=('git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+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)"
+}
+
+build() {
+ cd ${pkgname%-git}
+ make
+}
+
+package() {
+ cd ${pkgname%-git}
+ make DESTDIR="$pkgdir/" prefix="/usr" install
+}