summaryrefslogtreecommitdiff
path: root/community/confuse/PKGBUILD
blob: 848134302072f940f7e461440189d84bc6037fad (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 101339 2013-11-22 22:46:04Z ttoepper $
# 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
}