aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxdamage/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libxdamage/APKBUILD')
-rw-r--r--main/libxdamage/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/libxdamage/APKBUILD b/main/libxdamage/APKBUILD
new file mode 100644
index 0000000000..bf58651c00
--- /dev/null
+++ b/main/libxdamage/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libxdamage
+pkgver=1.1.2
+pkgrel=1
+pkgdesc="X11 damaged region extension library"
+url="http://xorg.freedesktop.org/"
+license="custom"
+depends=
+makedepends="pkgconfig libxfixes-dev damageproto xextproto"
+subpackages="$pkgname-dev"
+source="http://xorg.freedesktop.org/releases/individual/lib/libXdamage-$pkgver.tar.bz2"
+
+depends_dev="xproto damageproto libxfixes-dev libx11-dev fixesproto"
+build() {
+ cd "$srcdir"/libXdamage-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/libXdamage-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="b42780bce703ec202a33e5693991c09d libXdamage-1.1.2.tar.bz2"