summaryrefslogtreecommitdiffstats
path: root/main/libice/APKBUILD
blob: 3ad148eba43f59e577448b14cb375fcafdc55a77 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libice
pkgver=1.0.7
pkgrel=2
pkgdesc="X11 Inter-Client Exchange library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=
makedepends="pkgconfig xproto xtrans"
subpackages="$pkgname-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libICE-$pkgver.tar.bz2"

depends_dev="xproto"
build () {
	cd "$srcdir"/libICE-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc
	make || return 1
}

package() {
	cd "$srcdir"/libICE-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="bb72a732b15e9dc25c3036559387eed5  libICE-1.0.7.tar.bz2"