summaryrefslogtreecommitdiffstats
path: root/abs/core/confuse/PKGBUILD
blob: dcb7056f77033d75feda4dea782e1a57ee690c80 (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$
# 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=3
pkgdesc="C-library for parsing configuration files"
arch=('i686' 'x86_64')
url="http://www.nongnu.org/confuse"
license=('LGPL')
depends=('glibc')
source=("http://savannah.nongnu.org/download/${pkgname}/${pkgname}-${pkgver}.tar.gz")
options=('!emptydirs')
md5sums=('45932fdeeccbb9ef4228f1c1a25e9c8f')

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

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