summaryrefslogblamecommitdiff
path: root/user/libxres/APKBUILD
blob: df8b54d6b3912465bebad83c70dcb3e296d08bbf (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                 
            




                                          

                                                              
                                       
                                                                         




















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