summaryrefslogtreecommitdiff
path: root/pcr/expac-relative
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-02-09 13:26:25 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-02-09 14:22:33 -0300
commit38414f44fd591e34c6be8817b6d342ec652810f5 (patch)
treecfd3f3c1bf04f5e6f33efe6892536a3572c5fb3a /pcr/expac-relative
parent7ec093735f07dabcf29c708542532a3a7bc660ab (diff)
downloadabslibre-38414f44fd591e34c6be8817b6d342ec652810f5.tar.gz
abslibre-38414f44fd591e34c6be8817b6d342ec652810f5.tar.bz2
abslibre-38414f44fd591e34c6be8817b6d342ec652810f5.zip
expac-relative: remove package from [pcr]
Diffstat (limited to 'pcr/expac-relative')
-rw-r--r--pcr/expac-relative/0001-fix-target-processing.patch27
-rw-r--r--pcr/expac-relative/0002-conf-always-trim-the-key-name.patch30
-rw-r--r--pcr/expac-relative/PKGBUILD49
3 files changed, 0 insertions, 106 deletions
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 <dreisner@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
-
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 <dreisner@archlinux.org>
-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 <d@falconindy.com>
-# Maintainer: Esteban Carnevale <alfplayer@mailoo.org>
-# Maintainer: André Silva <emulatorman@parabola.nu>
-
-_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