summaryrefslogtreecommitdiff
path: root/pcr/recutils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/recutils/PKGBUILD')
-rw-r--r--pcr/recutils/PKGBUILD38
1 files changed, 18 insertions, 20 deletions
diff --git a/pcr/recutils/PKGBUILD b/pcr/recutils/PKGBUILD
index 4a6952bbd..708e17d6e 100644
--- a/pcr/recutils/PKGBUILD
+++ b/pcr/recutils/PKGBUILD
@@ -1,43 +1,41 @@
-# Maintainer (Arch): Max Meyer <dev@fedux.org>
-# Contributor (Arch): Sven Wick <sven.wick@gmx.de>
-#
-# Please fork and send me a pull request for changes to package build file(s)
-# Url: https://github.com/maxmeyer/archlinux-recutils
-#
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): Brandon Invergo <brandon@invergo.net>
+# Contributor (AUR): Max Meyer <dev@fedux.org>
+# Contributor (AUR): Sven Wick <sven.wick@gmx.de>
pkgname=recutils
-pkgver=1.5
-pkgrel=2
-pkgdesc="GNU tools and libraries to access human-editable, text-based databases."
-arch=(i686 x86_64 mips64el)
+pkgver=1.7
+pkgrel=1
+pkgdesc="A set of tools and libraries to access human-editable, text-based databases"
+arch=(i686 x86_64)
url="http://www.gnu.org/software/recutils/"
license=('GPL3')
depends=(libgcrypt curl)
-optdepends=("mdbtools: for processing M$ Access databases")
-#options=()
+makedepends=(make)
+checkdepends=(check)
+optdepends=(
+# 'bash: for shell builtins' # Arch 'bash' does not include the headers
+ 'mdbtools: for mdb2rec'
+)
+makedepends+=("${optdepends[@]%%:*}")
install=recutils.install
-changelog=ChangeLog
-source=("http://ftp.gnu.org/gnu/recutils/$pkgname-$pkgver.tar.gz"
- "recutils-1.5-glibc-2.16.patch")
-sha256sums=('7ed67e74468084f52ad9341e4b11c44e5fd9d5325b93b7eb2cb230c839ff5dec'
- '28c169df3573748215a78b78793d45a09aeefc6194cf1185c7c0f11881eb289a')
+source=("http://ftpmirror.gnu.org/recutils/$pkgname-$pkgver.tar.gz")
+sha256sums=('233dc6dedb1916b887de293454da7e36a74bed9ebea364f7e97e74920051bc31')
options=(!libtool)
build() {
cd "$srcdir/$pkgname-$pkgver"
- patch -Np1 -i ${srcdir}/recutils-1.5-glibc-2.16.patch
./configure --prefix=/usr
make
}
check() {
cd "$srcdir/$pkgname-$pkgver"
- make check
+ make -j1 check
}
package() {
cd "$srcdir/$pkgname-$pkgver"
-
make DESTDIR="$pkgdir/" install
}