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

Allan McRae allan at archlinux.org
Mon Dec 29 10:00:46 UTC 2014


    Date: Monday, December 29, 2014 @ 11:00:46
  Author: allan
Revision: 228133

archrelease: copy trunk to testing-i686

Added:
  expac/repos/testing-i686/
  expac/repos/testing-i686/0001-fix-target-processing.patch
    (from rev 228130, expac/trunk/0001-fix-target-processing.patch)
  expac/repos/testing-i686/PKGBUILD
    (from rev 228131, expac/trunk/PKGBUILD)

----------------------------------+
 0001-fix-target-processing.patch |   27 +++++++++++++++++++++++
 PKGBUILD                         |   42 +++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

Copied: expac/repos/testing-i686/0001-fix-target-processing.patch (from rev 228130, expac/trunk/0001-fix-target-processing.patch)
===================================================================
--- testing-i686/0001-fix-target-processing.patch	                        (rev 0)
+++ testing-i686/0001-fix-target-processing.patch	2014-12-29 10:00:46 UTC (rev 228133)
@@ -0,0 +1,27 @@
+From ea25d7e51c2236e739aef2718499781dd37ef53d Mon Sep 17 00:00:00 2001
+From: Dave Reisner <dreisner at archlinux.org>
+Date: Tue, 25 Nov 2014 10:50:19 -0500
+Subject: [PATCH] fix target processing
+
+lack of targets is not an error.
+---
+ expac.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/expac.c b/expac.c
+index 5a11a59..d89e072 100644
+--- a/expac.c
++++ b/expac.c
+@@ -848,9 +848,6 @@ int main(int argc, char *argv[])
+   }
+ 
+   targets = process_targets(argc, argv);
+-  if(targets == NULL) {
+-    return 1;
+-  }
+ 
+   r = expac_new(&expac, opt_config_file);
+   if(r < 0) {
+-- 
+2.1.3
+

Copied: expac/repos/testing-i686/PKGBUILD (from rev 228131, expac/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-12-29 10:00:46 UTC (rev 228133)
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 87501 2013-04-02 00:06:04Z dreisner $
+# Maintainer: Dave Reisner <d at falconindy.com>
+
+pkgname=expac
+pkgver=4
+pkgrel=3
+pkgdesc="pacman database extraction utility"
+arch=('i686' 'x86_64')
+url="http://github.com/falconindy/expac"
+license=('GPL')
+depends=('pacman')
+makedepends=('perl')
+source=("http://code.falconindy.com/archive/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
+        '0001-fix-target-processing.patch')
+validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53')  # Dave Reisner
+md5sums=('5104ad808155e8d2d381d9282caf7bae'
+         'SKIP'
+         '80433a259a4f5996520f42217b1896b8')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  patch -Np1 <../0001-fix-target-processing.patch
+
+  sed '/\*\//q' expac.c >LICENSE
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make PREFIX=/usr DESTDIR="$pkgdir" install
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ft=sh syn=sh



More information about the arch-commits mailing list