[arch-commits] Commit in bigreqsproto/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Tue Mar 17 03:20:21 UTC 2009
Date: Monday, March 16, 2009 @ 23:20:21
Author: eric
Revision: 30179
upgpkg: bigreqsproto 1.0.2-2
Added license
Modified:
bigreqsproto/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-03-17 03:18:01 UTC (rev 30178)
+++ PKGBUILD 2009-03-17 03:20:21 UTC (rev 30179)
@@ -3,18 +3,20 @@
pkgname=bigreqsproto
pkgver=1.0.2
-pkgrel=1
+pkgrel=2
pkgdesc="X11 Big Requests extension wire protocol"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
-source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
+license=('custom:OpenGroup')
+source=(http://xorg.freedesktop.org/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
md5sums=('95c29d9d10bf2868996c0c47a3b9a8dc')
sha1sums=('8f6c112f607a137dce5d8958753c770ac3f06c14')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr || return 1
make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
+ make DESTDIR=${pkgdir} install || return 1
+ install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
More information about the arch-commits
mailing list