summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 12 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 851a2f8d238..61b2bda8108 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,29 @@
# Maintainer: Philip Goto <philip.goto@gmail.com>
+
pkgname=libminigbm-git
-pkgver=latest
+pkgver=r305.ee98f4ec
pkgrel=1
pkgdesc="Generic Buffer Management (GBM) implementation used in Chromium OS"
-arch=('x86_64')
+arch=(i686 x86_64 armv6h armv7h)
url="https://chromium.googlesource.com/chromiumos/platform/minigbm/"
-license=('https://chromium.googlesource.com/chromiumos/platform/minigbm/+/master/LICENSE')
-provides=('libminigbm')
-source=("git+https://chromium.googlesource.com/chromiumos/platform/minigbm"
- "minigbm.patch")
-sha256sums=('SKIP'
- 'a347ca3e125e42cf1dd9e19ca058c3569ee7d88eb1592534d30a2fa130400d1e')
+license=(custom)
+makedepends=(clang)
+provides=(libminigbm)
+conflicts=(libminigbm mesa)
+source=("git+https://chromium.googlesource.com/chromiumos/platform/minigbm")
+md5sums=(SKIP)
pkgver() {
cd minigbm
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
-prepare() {
- cd minigbm
- patch -Np1 -i "${srcdir}/minigbm.patch"
-}
-
build() {
cd minigbm
- make
+ make CC=clang
}
package() {
- install -dm 755 "${pkgdir}/usr/lib"
- install -m 755 "minigbm/libminigbm.so.1.0.0" "${pkgdir}/usr/lib/libminigbm.so"
+ cd minigbm
+ make DESTDIR="${pkgdir}" install
}