[arch-commits] Commit in xcb-proto/repos (staging-any staging-any/PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Fri Feb 3 11:17:15 EST 2012


    Date: Friday, February 3, 2012 @ 11:17:15
  Author: andyrtr
Revision: 148548

archrelease: copy trunk to staging-any

Added:
  xcb-proto/repos/staging-any/
  xcb-proto/repos/staging-any/PKGBUILD
    (from rev 148547, xcb-proto/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: xcb-proto/repos/staging-any/PKGBUILD (from rev 148547, xcb-proto/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2012-02-03 16:17:15 UTC (rev 148548)
@@ -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.7
+pkgrel=2
+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=('f47772de91394aa9ad8ee8a5b57a71072d438b2b')
+
+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