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

Felix Yan felixonmars at archlinux.org
Fri Oct 25 19:51:09 UTC 2019


    Date: Friday, October 25, 2019 @ 19:51:08
  Author: felixonmars
Revision: 365697

archrelease: copy trunk to staging-any

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

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

Copied: xcb-proto/repos/staging-any/PKGBUILD (from rev 365696, xcb-proto/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-10-25 19:51:08 UTC (rev 365697)
@@ -0,0 +1,33 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xcb-proto
+pkgver=1.13
+pkgrel=3
+pkgdesc="XML-XCB protocol descriptions"
+arch=(any)
+url="https://xcb.freedesktop.org/"
+license=('custom')
+makedepends=('python' 'libxml2')
+source=($url/dist/$pkgname-$pkgver.tar.bz2{,.sig})
+sha512sums=('002aa2aa0ad503977e03419c6f136f1e3aa8c787916830ce6d6be8f81ca99edc1d8fc5f71ce8c592b490cc767bf6567695f0bafe55fe3f743076bcddbaac07f7'
+            'SKIP')
+validpgpkeys=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # "Daniel Stone <daniels at collabora.com>"
+
+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