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

Andreas Radke andyrtr at archlinux.org
Thu May 19 20:00:49 UTC 2016


    Date: Thursday, May 19, 2016 @ 22:00:49
  Author: andyrtr
Revision: 268331

archrelease: copy trunk to testing-any

Added:
  xcb-proto/repos/testing-any/
  xcb-proto/repos/testing-any/PKGBUILD
    (from rev 268330, xcb-proto/trunk/PKGBUILD)

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

Copied: xcb-proto/repos/testing-any/PKGBUILD (from rev 268330, xcb-proto/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2016-05-19 20:00:49 UTC (rev 268331)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xcb-proto
+pkgver=1.12
+pkgrel=1
+pkgdesc="XML-XCB protocol descriptions"
+arch=(any)
+url="http://xcb.freedesktop.org/"
+license=('custom')
+makedepends=('python' 'libxml2')
+source=($url/dist/$pkgname-$pkgver.tar.bz2)
+sha256sums=('5922aba4c664ab7899a29d92ea91a87aa4c1fc7eb5ee550325c3216c480a4906')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver 
+  make -k check || /bin/true
+}
+
+package() {
+  cd $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