From b6fba38485fbddb58ea021c9b532e7fea84404b1 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 18 Jan 2013 21:14:09 -0200 Subject: {glproto,libdrm}-git: update pkg --- pcr/glproto-git/PKGBUILD | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) (limited to 'pcr/glproto-git') 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 # Maintainer (Parabola): Márcio Silva +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 } -- cgit v1.2.3