packages/dotconf/PKGBUILD
2024-10-18 10:35:16 +02:00

28 lines
763 B
Bash

# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Chris Brannon <cmbrannon@cox.net>
pkgname=dotconf
pkgver=1.4.1
pkgrel=1.1
pkgdesc='A C library for parsing configuration files'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
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
}