core/xorg-xrandr/PKGBUILD
2016-11-17 14:06:44 +00:00

28 lines
762 B
Bash

pkgname=xorg-xrandr
pkgver=1.5.0
pkgrel=1
pkgdesc="Primitive command line interface to RandR extension"
arch=(x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxrandr' 'libx11')
makedepends=('xorg-util-macros')
groups=('xorg-apps' 'xorg')
source=(http://xorg.freedesktop.org/archive/individual/app/xrandr-${pkgver}.tar.bz2)
sha256sums=('c1cfd4e1d4d708c031d60801e527abc9b6d34b85f2ffa2cadd21f75ff38151cd')
build() {
cd "${srcdir}/xrandr-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/xrandr-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
rm -f "${pkgdir}/usr/bin/xkeystone"
}