aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxt/APKBUILD
blob: c76f14a500511cf60eee8403b6736ca6f051d510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxt
pkgver=1.1.5
pkgrel=2
pkgdesc="X11 toolkit intrinsics library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="libsm-dev"
makedepends="$depends_dev libice-dev libx11-dev util-macros xorgproto"
checkdepends="glib-dev"
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
}
md5sums="8f5b5576fbabba29a05f3ca2226f74d3  libXt-1.1.5.tar.bz2"
sha256sums="46eeb6be780211fdd98c5109286618f6707712235fdd19df4ce1e6954f349f1a  libXt-1.1.5.tar.bz2"
sha512sums="29828cfc021b60e0a0b5ff0321801db20f12bd635866cd000b35a23736b5477a3d1e5f936a1124ed3e3f4c0e7a27cb8744dbb5ab4fbcd45c817a13877081e05b  libXt-1.1.5.tar.bz2"