diff options
Diffstat (limited to 'user/xtrans/APKBUILD')
-rw-r--r-- | user/xtrans/APKBUILD | 34 |
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" |