summaryrefslogblamecommitdiff
path: root/user/libxrandr/APKBUILD
blob: 9316676d5dd8f895350b2e6d5ef949a9865f6e77 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 

            



                                     
          






                                                                              










                                         



                  
                                      

 
                                                                                                                                                                      
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxrandr
pkgver=1.5.2
pkgrel=0
pkgdesc="X11 RandR extension library"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
depends_dev="libxext-dev"
makedepends="$depends_dev libx11-dev libxrender-dev util-macros xorgproto-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/lib/libXrandr-$pkgver.tar.bz2"
builddir="$srcdir"/libXrandr-$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="fcd005f9839e7ef980607128a5d76d7b671cc2f5755949e03c569c500d7e987cb3f6932750ab8bf6e2c1086ec69dde09d5831f0c2098b9f9ad46be4f56db0d87  libXrandr-1.5.2.tar.bz2"