diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-08-03 16:50:23 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-08-03 17:21:09 -0300 |
commit | f0a9a611933eefdb795d651190c76263b7d42f0e (patch) | |
tree | 625d88396a7e7e3de2edbf3530707740e9a9ec0d | |
parent | 17af7e0814816881101b2697a15e0776428fd705 (diff) |
libcedrus-git: add new package to [pcr]
-rw-r--r-- | pcr/libcedrus-git/PKGBUILD | 28 |
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 +} |