summaryrefslogtreecommitdiff
path: root/community/confuse/PKGBUILD
blob: 33f19975c83b073d83ae56ce948c6ec615832220 (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
# $Id: PKGBUILD 64161 2012-02-09 16:35:50Z ttopper $
# Contributor : Ionut Biru <ibiru@archlinux.org>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: Alexander Mieland (dma147) <dma147@linux-stats.org>
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>

pkgname=confuse
pkgver=2.7
pkgrel=2.1
pkgdesc="C-library for parsing configuration files"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.nongnu.org/confuse"
license=('LGPL')
depends=('glibc')
source=("http://savannah.nongnu.org/download/${pkgname}/${pkgname}-${pkgver}.tar.gz")
options=('!libtool' '!emptydirs')
md5sums=('45932fdeeccbb9ef4228f1c1a25e9c8f')

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

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