diff options
Diffstat (limited to 'abs/core/xf86vidmodeproto/PKGBUILD')
-rw-r--r-- | abs/core/xf86vidmodeproto/PKGBUILD | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/abs/core/xf86vidmodeproto/PKGBUILD b/abs/core/xf86vidmodeproto/PKGBUILD index c2e310e..19230e6 100644 --- a/abs/core/xf86vidmodeproto/PKGBUILD +++ b/abs/core/xf86vidmodeproto/PKGBUILD @@ -1,21 +1,25 @@ -# $Id: PKGBUILD 56538 2009-10-22 16:47:03Z jgc $ +# $Id: PKGBUILD 151190 2012-02-25 07:08:10Z allan $ #Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=xf86vidmodeproto -pkgver=2.3 -pkgrel=1 +pkgver=2.3.1 +pkgrel=2 pkgdesc="X11 Video Mode extension wire protocol" -arch=(any) +arch=('any') url="http://xorg.freedesktop.org/" license=('custom') +makedepends=('xorg-util-macros') source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2) -md5sums=('4434894fc7d4eeb4a22e6b876d56fdaa') +sha1sums=('11d54c3210887631ea71e8f8030a77692e964fc4') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 - install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } |