summaryrefslogtreecommitdiff
path: root/extra/dotconf/PKGBUILD
blob: 276907d41df88d4023aa8bc3f1c637621506a757 (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
# $Id: PKGBUILD 197652 2013-10-27 18:25:32Z eric $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Chris Brannon <cmbrannon@cox.net>

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

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

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