summaryrefslogblamecommitdiff
path: root/user/libxres/APKBUILD
blob: 9244440c41b9ce12efae0166a3f92020f041af6f (plain) (tree)

































                                                                                                                                                                    
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxres
pkgver=1.2.0
pkgrel=0
pkgdesc="X11 X-Resource extension library"
url="https://www.X.Org/"
arch="all"
license="MIT AND X11"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
makedepends="libx11-dev libxext-dev util-macros xorgproto-dev"
source="https://www.X.Org/releases/individual/lib/libXres-$pkgver.tar.bz2"
builddir="$srcdir"/libXres-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="8eb5a36b1f030eb4e27e676cc4befcc073da66a7bce2b39089314e1facb629d13b087bb53ca2c95fe5291857da7ff9f80c6ab28fb3e245eeb9e0344937900172  libXres-1.2.0.tar.bz2"