diff options
Diffstat (limited to 'testing/libxrandr/PKGBUILD')
-rw-r--r-- | testing/libxrandr/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/libxrandr/PKGBUILD b/testing/libxrandr/PKGBUILD new file mode 100644 index 000000000..ccddaba57 --- /dev/null +++ b/testing/libxrandr/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 164269 2012-07-29 11:06:35Z andyrtr $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Alexander Baldeck <alexander@archlinux.org> + +pkgname=libxrandr +pkgver=1.4.0 +pkgrel=1 +pkgdesc="X11 RandR extension library" +arch=('i686' 'x86_64') +license=('custom') +url="http://xorg.freedesktop.org/" +depends=('libxext' 'libxrender' 'randrproto>=1.4.0') +makedepends=('xorg-util-macros') +options=('!libtool') +source=(${url}/releases/individual/lib/libXrandr-${pkgver}.tar.bz2) +sha256sums=('033ad0ac2f012afb05268660f6d78705c85f84689f92fa7b47ce12959b15f5c3') + +build() { + cd "${srcdir}/libXrandr-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd "${srcdir}/libXrandr-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} |