summaryrefslogtreecommitdiff
path: root/extra/dotconf/PKGBUILD
blob: d19989cdaac6d94a0156e6d36e140a20f813cb2b (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
# $Id: PKGBUILD 149587 2012-02-08 15:12:44Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Chris Brannon <cmbrannon@cox.net>

pkgname=dotconf
pkgver=1.3
pkgrel=3
pkgdesc='A C library for parsing configuration files'
url="https://github.com/williamh/dotconf"
arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
makedepends=('pkgconfig' 'findutils')
license=('LGPL2.1')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/williamh/${pkgname}/tarball/v${pkgver}")
md5sums=('36bfdde245072fc2f4f5766b7db97c45')
options=('!libtool')

build() {
  cd "${srcdir}"/williamh-${pkgname}-4cd7b3a
  autoreconf -i
  ./configure --prefix=/usr
  make
}

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