From dedb706dddae5ed19a470a3e9f7b5686a1181e82 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 2 Apr 2017 18:48:07 +0000 Subject: [PATCH] added alarm/libdrm-armada --- alarm/libdrm-armada/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 alarm/libdrm-armada/PKGBUILD diff --git a/alarm/libdrm-armada/PKGBUILD b/alarm/libdrm-armada/PKGBUILD new file mode 100644 index 000000000..c2a8953df --- /dev/null +++ b/alarm/libdrm-armada/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Kevin Mihelich + +buildarch=4 + +pkgname=libdrm-armada +pkgver=r17.6b461c1 +pkgrel=1 +pkgdesc='Marvell Armada libdrm buffer object management module' +arch=('armv7h') +url="http://git.arm.linux.org.uk/cgit/libdrm-armada.git/" +license=('GPL2') +depends=('libdrm') +makedepends=('git') +options=('!libtool') +source=("git://git.arm.linux.org.uk/libdrm-armada.git") +md5sums=('SKIP') + +pkgver() { + cd $pkgname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd $pkgname + + autoreconf -fi + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname + + make DESTDIR="${pkgdir}" install +} +