From f0a9a611933eefdb795d651190c76263b7d42f0e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 3 Aug 2016 16:50:23 -0300 Subject: libcedrus-git: add new package to [pcr] --- pcr/libcedrus-git/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pcr/libcedrus-git/PKGBUILD (limited to 'pcr/libcedrus-git/PKGBUILD') 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 +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 +} -- cgit v1.2.3-54-g00ecf