From 38414f44fd591e34c6be8817b6d342ec652810f5 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 9 Feb 2016 13:26:25 -0300 Subject: expac-relative: remove package from [pcr] --- .../0001-fix-target-processing.patch | 27 ------------ .../0002-conf-always-trim-the-key-name.patch | 30 ------------- pcr/expac-relative/PKGBUILD | 49 ---------------------- 3 files changed, 106 deletions(-) delete mode 100644 pcr/expac-relative/0001-fix-target-processing.patch delete mode 100644 pcr/expac-relative/0002-conf-always-trim-the-key-name.patch delete mode 100644 pcr/expac-relative/PKGBUILD (limited to 'pcr') diff --git a/pcr/expac-relative/0001-fix-target-processing.patch b/pcr/expac-relative/0001-fix-target-processing.patch deleted file mode 100644 index f3c682ff7..000000000 --- a/pcr/expac-relative/0001-fix-target-processing.patch +++ /dev/null @@ -1,27 +0,0 @@ -From ea25d7e51c2236e739aef2718499781dd37ef53d Mon Sep 17 00:00:00 2001 -From: Dave Reisner -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 - diff --git a/pcr/expac-relative/0002-conf-always-trim-the-key-name.patch b/pcr/expac-relative/0002-conf-always-trim-the-key-name.patch deleted file mode 100644 index c9140a38c..000000000 --- a/pcr/expac-relative/0002-conf-always-trim-the-key-name.patch +++ /dev/null @@ -1,30 +0,0 @@ -From d4ab6ef08723c2c47802fd56222bf6105919ec3b Mon Sep 17 00:00:00 2001 -From: Dave Reisner -Date: Thu, 27 Nov 2014 21:55:17 -0500 -Subject: [PATCH] conf: always trim the key name - ---- - conf.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/conf.c b/conf.c -index 96e4d60..aef4cbf 100644 ---- a/conf.c -+++ b/conf.c -@@ -155,12 +155,11 @@ static int parse_one_file(config_t *config, const char *filename, char **section - - strsep(&val, "="); - strtrim(line); -+ strtrim(val); - - if(strcmp(line, "Include") == 0) { - int k; - -- strtrim(val); -- - k = parse_include(config, val, section); - if(k < 0) { - return k; --- -2.1.3 - diff --git a/pcr/expac-relative/PKGBUILD b/pcr/expac-relative/PKGBUILD deleted file mode 100644 index 74e455942..000000000 --- a/pcr/expac-relative/PKGBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# $Id: PKGBUILD 87501 2013-04-02 00:06:04Z dreisner $ -# Maintainer (Arch): Dave Reisner -# Maintainer: Esteban Carnevale -# Maintainer: André Silva - -_pkgname=expac -pkgname=expac-relative -pkgver=4 -pkgrel=3.parabola1 -pkgdesc="pacman database extraction utility, with dbpath and config options support" -arch=('i686' 'x86_64' 'mips64el') -url="http://github.com/falconindy/expac" -license=('GPL') -conflicts=($_pkgname) -provides=($_pkgname) -depends=('pacman') -makedepends=('perl') -source=("http://code.falconindy.com/archive/$_pkgname/$_pkgname-$pkgver.tar.gz"{,.sig} - '0001-fix-target-processing.patch' - '0002-conf-always-trim-the-key-name.patch') -md5sums=('5104ad808155e8d2d381d9282caf7bae' - 'SKIP' - '80433a259a4f5996520f42217b1896b8' - '879749918e1a4abef4c51e9f870c99e0') - -prepare() { - cd "$_pkgname-$pkgver" - - patch -Np1 < "$srcdir/0001-fix-target-processing.patch" - patch -Np1 < "$srcdir/0002-conf-always-trim-the-key-name.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 -- cgit v1.2.3-54-g00ecf