From 493901e32901b94a76d8cea5c27121e8268aa87d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 16 Feb 2019 23:03:39 +0000 Subject: user/dotconf: new package --- user/dotconf/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 user/dotconf/APKBUILD (limited to 'user') diff --git a/user/dotconf/APKBUILD b/user/dotconf/APKBUILD new file mode 100644 index 000000000..54f08fa92 --- /dev/null +++ b/user/dotconf/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=dotconf +pkgver=1.3 +pkgrel=0 +pkgdesc="Configuration file parsing library" +url=" " +arch="all" +license="LGPL-2.1-only" +depends="" +makedepends="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://distfiles.gentoo.org/distfiles/dotconf-$pkgver.tar.gz" + +prepare() { + cd "$builddir" + default_prepare + update_config_sub +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="ced0e66f70d11a309e77add1bfac1da8e85dcbe193633bd4bd1ae4bfd043b66880406e93ec18327b8c5d3de8d4bfc5278db6e5cb39b030ee1dabfa1ce267a98e dotconf-1.3.tar.gz" -- cgit v1.2.3-70-g09d2