summaryrefslogtreecommitdiff
path: root/user/xtrans/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 00:26:07 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 00:26:07 -0500
commit0cf9d12c5a6e3d255a101c78a2f1f138e9cb0d85 (patch)
treee5ccdf41e184fe25c2b33f619543c8d7866a3efd /user/xtrans/APKBUILD
parentd3ba64d322704f88ece04558ea8b464926e85403 (diff)
downloadpackages-0cf9d12c5a6e3d255a101c78a2f1f138e9cb0d85.tar.gz
packages-0cf9d12c5a6e3d255a101c78a2f1f138e9cb0d85.tar.bz2
packages-0cf9d12c5a6e3d255a101c78a2f1f138e9cb0d85.tar.xz
packages-0cf9d12c5a6e3d255a101c78a2f1f138e9cb0d85.zip
user/xtrans: take, fix
Diffstat (limited to 'user/xtrans/APKBUILD')
-rw-r--r--user/xtrans/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/xtrans/APKBUILD b/user/xtrans/APKBUILD
new file mode 100644
index 000000000..7a3a74a93
--- /dev/null
+++ b/user/xtrans/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xtrans
+pkgver=1.3.5
+pkgrel=1
+pkgdesc="X transport library"
+url="https://www.X.Org/"
+arch="noarch"
+license="X11 AND MIT"
+depends=""
+makedepends="util-macros xmlto"
+subpackages="$pkgname-doc"
+source="https://www.X.Org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="049fb996313e8a1625b66e1645a5f56d8a26c5dd91afe5869269716fce05f6c97c84f8ce4a6df2057106b47982c8291cecc223bef241f694174434c981a7029b xtrans-1.3.5.tar.bz2"