aboutsummaryrefslogblamecommitdiffstats
path: root/main/xrandr/APKBUILD
blob: c52fea1a4b2b8ab5bc2857bbc4dc39266755109c (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
            
        



                                                             
        



                                                                                    
          



                                                                       



                                     

                                                  
                                                               
                                                                     
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xrandr
pkgver=1.3.2
pkgrel=1
pkgdesc="primitive command line interface to RandR extension"
url="http://xorg.freedesktop.org/"
license="custom"
subpackages="$pkgname-doc"
depends=
makedepends="pkgconfig libxrandr-dev libxrender-dev libx11-dev"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2
	$pkgname-1.3.0-clone-nameclash.patch"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	patch -p1 < ../$pkgname-1.3.0-clone-nameclash.patch || return 1
	./configure --prefix=/usr --mandir=/usr/share/man || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="2cb19bb1c19ccf77c40032b03dbe06f0  xrandr-1.3.2.tar.bz2
b938aad95a5ea71bce7a2529fd8f6866  xrandr-1.3.0-clone-nameclash.patch"