aboutsummaryrefslogblamecommitdiffstats
path: root/main/libxres/APKBUILD
blob: 52ce54831fb012ff919296bd883b1a0b8b04acec (plain) (tree)
1
2
3
4

                                                   
            
        














                                                                                    



                                    


                                                                              
                                                                 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxres
pkgver=1.0.4
pkgrel=2
pkgdesc="X11 Resource extension library"
url="http://xorg.freedesktop.org"
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
	install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
md5sums="4daf91f93d924e693f6f6ed276791be2  libXres-1.0.4.tar.bz2"