diff options
Diffstat (limited to 'pcr/libcedrus-git/PKGBUILD')
-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 +} |