summaryrefslogtreecommitdiff
path: root/pcr/recutils/PKGBUILD
blob: 708e17d6e5dd8c732744b3707d9110c5509a9a77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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.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)
makedepends=(make)
checkdepends=(check)
optdepends=(
#  'bash: for shell builtins' # Arch 'bash' does not include the headers
  'mdbtools: for mdb2rec'
)
makedepends+=("${optdepends[@]%%:*}")
install=recutils.install
source=("http://ftpmirror.gnu.org/recutils/$pkgname-$pkgver.tar.gz")
sha256sums=('233dc6dedb1916b887de293454da7e36a74bed9ebea364f7e97e74920051bc31')
options=(!libtool)

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

check() {
  cd "$srcdir/$pkgname-$pkgver"
  make -j1 check
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: