diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-01-18 21:14:09 -0200 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-01-18 21:14:09 -0200 |
commit | b6fba38485fbddb58ea021c9b532e7fea84404b1 (patch) | |
tree | 61060ff7a5b43cc44a3efb70805aa43619afee60 /pcr/glproto-git | |
parent | 629127465c8d82c6104ee8aeda17eae21894d7af (diff) | |
download | abslibre-b6fba38485fbddb58ea021c9b532e7fea84404b1.tar.gz abslibre-b6fba38485fbddb58ea021c9b532e7fea84404b1.tar.bz2 abslibre-b6fba38485fbddb58ea021c9b532e7fea84404b1.zip |
{glproto,libdrm}-git: update pkg
Diffstat (limited to 'pcr/glproto-git')
-rw-r--r-- | pcr/glproto-git/PKGBUILD | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/pcr/glproto-git/PKGBUILD b/pcr/glproto-git/PKGBUILD index fed5caa70..0ff8f2840 100644 --- a/pcr/glproto-git/PKGBUILD +++ b/pcr/glproto-git/PKGBUILD @@ -4,8 +4,10 @@ # Contributor: Cilyan Olowen <gaknar at gmail dot com> # Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> +pkgbase=glproto pkgname=glproto-git -pkgver=20120905 +pkgver=$(LC_ALL=C date -u +%Y%m%d) +_pkgver=1.4.16 pkgrel=1 pkgdesc='X11 OpenGL extension wire protocol' arch=( @@ -14,23 +16,19 @@ arch=( mips64el ) url=http://xorg.freedesktop.org/ -license=( - custom -) +license=custom provides=( - ${pkgname%-git} - glproto=1.4.15 + $pkgbase + "$pkgbase=$_pkgver" ) +conflicts=$pkgbase makedepends=( git 'xorg-util-macros>=1.2' ) -conflicts=( - ${pkgname%-git} -) -_gitroot=git://git.freedesktop.org/git/xorg/proto/${pkgname%-git} -_gitname=${pkgname%-git} +_gitroot=git://git.freedesktop.org/git/xorg/proto/$pkgbase +_gitname=$pkgbase build() { cd $srcdir @@ -51,13 +49,13 @@ build() { msg 'Starting make...' cd $srcdir/$_gitname-build - ./autogen.sh --prefix=/usr - make + setarch $CARCH ./autogen.sh --prefix=/usr + setarch $CARCH make } package() { cd $srcdir/$_gitname-build - make DESTDIR=$pkgdir install - install -m755 -d $pkgdir/usr/share/licenses/${pkgname%-git} - install -m644 COPYING $pkgdir/usr/share/licenses/${pkgname%-git} + setarch $CARCH make DESTDIR=$pkgdir install + install -m755 -d $pkgdir/usr/share/licenses/$pkgbase + install -m644 COPYING $pkgdir/usr/share/licenses/$pkgbase } |