summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libxt/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libxt/APKBUILD b/user/libxt/APKBUILD
new file mode 100644
index 000000000..db3931e1e
--- /dev/null
+++ b/user/libxt/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxt
+pkgver=1.1.5
+pkgrel=1
+pkgdesc="X11 toolkit intrinsics library"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=
+depends_dev="libsm-dev"
+makedepends="$depends_dev libice-dev libx11-dev util-macros xorgproto-dev"
+checkdepends="glib-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.X.Org/releases/individual/lib/libXt-$pkgver.tar.bz2"
+builddir="$srcdir"/libXt-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make -j1 DESTDIR="$pkgdir" install
+}
+
+sha512sums="29828cfc021b60e0a0b5ff0321801db20f12bd635866cd000b35a23736b5477a3d1e5f936a1124ed3e3f4c0e7a27cb8744dbb5ab4fbcd45c817a13877081e05b libXt-1.1.5.tar.bz2"