APKBUILD 965 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2
pkgname=libxdamage
3
pkgver=1.1.4
4
pkgrel=1
Natanael Copa's avatar
Natanael Copa committed
5 6
pkgdesc="X11 damaged region extension library"
url="http://xorg.freedesktop.org/"
7
arch="all"
Natanael Copa's avatar
Natanael Copa committed
8
license="custom"
9
options="!check"  # No test suite.
10
depends=
11 12
depends_dev="damageproto fixesproto"
makedepends="damageproto libx11-dev libxfixes-dev util-macros xextproto xproto"
Natanael Copa's avatar
Natanael Copa committed
13
subpackages="$pkgname-dev"
14
source="http://www.x.org/releases/individual/lib/libXdamage-$pkgver.tar.bz2"
Natanael Copa's avatar
Natanael Copa committed
15

16
builddir="$srcdir"/libXdamage-$pkgver
17 18

prepare() {
19 20 21 22
	cd "$builddir"
	chmod 644 "$builddir"/config.sub
	update_config_sub
	default_prepare
23 24
}

25
build() {
26
	cd "$builddir"
27 28 29 30
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
31 32
		--sysconfdir=/etc
	make
33 34 35
}

package() {
36 37
	cd "$builddir"
	make DESTDIR="$pkgdir" install
Natanael Copa's avatar
Natanael Copa committed
38
}
39
sha512sums="1058cef11a8f0edfcae7265837369e492b007c34d56ae04145b558e5f02a163827aba1d0b80656f4c8e5d1e9a40f5077d93b7ff4f5e704f7409060dceba03904  libXdamage-1.1.4.tar.bz2"