[arch-commits] Commit in (5 files)

Jelle van der Waa jelle at archlinux.org
Mon Jun 11 17:51:06 UTC 2018


    Date: Monday, June 11, 2018 @ 17:51:04
  Author: jelle
Revision: 342377

Add peg as dependency of intel-gpu-tools

Added:
  peg/
  peg/repos/
  peg/trunk/
  peg/trunk/0000-dont-strip.patch
  peg/trunk/PKGBUILD

-----------------------+
 0000-dont-strip.patch |   11 +++++++++++
 PKGBUILD              |   29 +++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

Added: peg/trunk/0000-dont-strip.patch
===================================================================
--- peg/trunk/0000-dont-strip.patch	                        (rev 0)
+++ peg/trunk/0000-dont-strip.patch	2018-06-11 17:51:04 UTC (rev 342377)
@@ -0,0 +1,11 @@
+diff -Naur p_old/Makefile p_new/Makefile
+--- p_old/Makefile	2018-06-08 13:17:49.403402279 +0200
++++ p_new/Makefile	2018-06-08 13:15:48.597796153 +0200
+@@ -26,7 +26,6 @@
+ 
+ $(BINDIR)/% : %
+ 	cp -p $< $@
+-	strip $@
+ 
+ $(MANDIR) :
+ 	mkdir -p $(MANDIR)

Added: peg/trunk/PKGBUILD
===================================================================
--- peg/trunk/PKGBUILD	                        (rev 0)
+++ peg/trunk/PKGBUILD	2018-06-11 17:51:04 UTC (rev 342377)
@@ -0,0 +1,29 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Nicolas F. <aur at fratti.ch>
+
+pkgname=peg
+pkgver=0.1.18
+pkgrel=1
+arch=(x86_64)
+pkgdesc='recursive-descent parser generators for C'
+url='http://piumarta.com/software/peg/'
+license=('MIT')
+source=("http://piumarta.com/software/peg/peg-${pkgver}.tar.gz"
+        '0000-dont-strip.patch')
+sha256sums=('20193bdd673fc7487a38937e297fff08aa73751b633a086ac28c3b34890f9084'
+            'b5ca5f4028651990d30735db1093be08c5cc5d214fc0f73f3a7c7314906c1c1e')
+
+prepare() {
+    cd "$pkgname-$pkgver"
+    patch -Np1 -i "${srcdir}/0000-dont-strip.patch"
+}
+
+build() {
+    cd "$pkgname-$pkgver"
+    make
+}
+
+package() {
+    cd "$pkgname-$pkgver"
+    make ROOT="${pkgdir}" PREFIX="/usr" MANDIR="${pkgdir}/usr/share/man/man1" install
+}


Property changes on: peg/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list