aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxres/APKBUILD
blob: 977205e6b6d9857960049c88df271d0f5713bfca (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxres
pkgver=1.0.5
pkgrel=2
pkgdesc="X11 Resource extension library"
url="http://xorg.freedesktop.org"
arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="pkgconfig libxext-dev resourceproto"
depends=
source="http://xorg.freedesktop.org/releases/individual/lib/libXres-$pkgver.tar.bz2"

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

package() {
	cd "$srcdir"/libXres-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
	install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

md5sums="d08f0b6df3f96c051637d37009f4e55a  libXres-1.0.5.tar.bz2"