summaryrefslogtreecommitdiffstats
path: root/abs/core/videoproto/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/videoproto/PKGBUILD')
-rw-r--r--abs/core/videoproto/PKGBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/abs/core/videoproto/PKGBUILD b/abs/core/videoproto/PKGBUILD
index 7cff84a..8d86ff4 100644
--- a/abs/core/videoproto/PKGBUILD
+++ b/abs/core/videoproto/PKGBUILD
@@ -1,21 +1,24 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 151202 2012-02-25 07:30:12Z allan $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=videoproto
-pkgver=2.3.0
-pkgrel=1
+pkgver=2.3.1
+pkgrel=2
pkgdesc="X11 Video extension wire protocol"
-arch=(i686 x86_64)
+arch=('any')
url="http://xorg.freedesktop.org/"
+license=('custom')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('bb8b366687a7f345e3a8697bac516cb436cbf4b2')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
- make || return 1
+ make
}
+
package() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- make DESTDIR=${startdir}/pkg install || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
-md5sums=('fb762146a18207a1e8bc9f299dfc7ac0')