[arch-commits] Commit in peg/repos (3 files)

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


    Date: Monday, June 11, 2018 @ 17:54:50
  Author: jelle
Revision: 342385

archrelease: copy trunk to community-x86_64

Added:
  peg/repos/community-x86_64/
  peg/repos/community-x86_64/0000-dont-strip.patch
    (from rev 342384, peg/trunk/0000-dont-strip.patch)
  peg/repos/community-x86_64/PKGBUILD
    (from rev 342384, peg/trunk/PKGBUILD)

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

Copied: peg/repos/community-x86_64/0000-dont-strip.patch (from rev 342384, peg/trunk/0000-dont-strip.patch)
===================================================================
--- community-x86_64/0000-dont-strip.patch	                        (rev 0)
+++ community-x86_64/0000-dont-strip.patch	2018-06-11 17:54:50 UTC (rev 342385)
@@ -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)

Copied: peg/repos/community-x86_64/PKGBUILD (from rev 342384, peg/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-06-11 17:54:50 UTC (rev 342385)
@@ -0,0 +1,31 @@
+# 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
+
+    install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE.txt"
+}



More information about the arch-commits mailing list