summaryrefslogblamecommitdiff
path: root/user/libxt/APKBUILD
blob: db3931e1e6025663c1d25ca62d0ac3d1fea6909b (plain) (tree)




































                                                                                                                                                                  
# 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"