aboutsummaryrefslogtreecommitdiffstats
path: root/main/xtrans/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xtrans/APKBUILD')
-rw-r--r--main/xtrans/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/xtrans/APKBUILD b/main/xtrans/APKBUILD
new file mode 100644
index 0000000000..d052c2903a
--- /dev/null
+++ b/main/xtrans/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xtrans
+pkgver=1.2.6
+pkgrel=0
+pkgdesc="X transport library"
+url="http://xorg.freedesktop.org/"
+arch="noarch"
+license="custom"
+depends=""
+makedepends=""
+source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+md5sums="c66f9ffd2da4fb012220c6c40ebc7609 xtrans-1.2.6.tar.bz2"