[arch-commits] Commit in xcb-proto/repos (staging-any staging-any/PKGBUILD)
andyrtr at archlinux.org
andyrtr at archlinux.org
Fri Oct 5 16:24:42 UTC 2012
Date: Friday, October 5, 2012 @ 12:24:42
Author: andyrtr
Revision: 168068
archrelease: copy trunk to staging-any
Added:
xcb-proto/repos/staging-any/
xcb-proto/repos/staging-any/PKGBUILD
(from rev 168067, xcb-proto/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: xcb-proto/repos/staging-any/PKGBUILD (from rev 168067, xcb-proto/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2012-10-05 16:24:42 UTC (rev 168068)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Alexander Baldeck <alexander at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xcb-proto
+pkgver=1.8
+pkgrel=1
+pkgdesc="XML-XCB protocol descriptions"
+arch=(any)
+url="http://xcb.freedesktop.org/"
+license=('custom')
+makedepends=('python2' 'libxml2')
+source=($url/dist/$pkgname-$pkgver.tar.bz2)
+sha1sums=('a8e71b9a09066870ff12049f45e8bccaaf83fc31')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
+ install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
+}
More information about the arch-commits
mailing list