git » dotconf.git » main » tree

[main] / PKGBUILD

# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Chris Brannon <cmbrannon@cox.net>

pkgname=dotconf
pkgver=1.4.1
pkgrel=1
pkgdesc='A C library for parsing configuration files'
arch=('x86_64' 'armv7h')
url="https://github.com/williamh/dotconf"
license=('LGPL2.1')
depends=('glibc')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/williamh/dotconf/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('5922c46cacf99b2ecc4853d28a2bda4a489292e73276e604bd9cba29dfca892d')

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

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