summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 10 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0a0d46f9b1ba..b8b7961a41bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
pkgbase = libdri2-git
pkgdesc = Library for the DRI2 extension to the X Window System
pkgver = r11.4f1eef3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/robclark/libdri2
- arch = any
+ arch = i686
+ arch = x86_64
license = MIT
makedepends = git
makedepends = xorgproto
@@ -16,4 +17,3 @@ pkgbase = libdri2-git
md5sums = SKIP
pkgname = libdri2-git
-
diff --git a/PKGBUILD b/PKGBUILD
index f83e52cb9f97..56b6eb41cb2b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libdri2-git
_gitname=libdri2
pkgver=r11.4f1eef3
-pkgrel=1
+pkgrel=2
pkgdesc="Library for the DRI2 extension to the X Window System"
-arch=('any')
+arch=('i686' 'x86_64')
url="https://github.com/robclark/libdri2"
license=('MIT')
depends=('libdrm' 'libxext')
@@ -25,9 +25,13 @@ pkgver() {
)
}
-build() {
+prepare() {
cd "${srcdir}/${_gitname}"
./autogen.sh
+}
+
+build() {
+ cd "${srcdir}/${_gitname}"
./configure --prefix=/usr
make
}