summaryrefslogblamecommitdiff
path: root/user/dotconf/APKBUILD
blob: 5ea71278f5d5b1a0974dbfba75449e2802553b4b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                  

                                                                     

           




                         










                                         



                  



                                                                                                                                                                 
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=dotconf
pkgver=1.3
pkgrel=0
pkgdesc="Configuration file parsing library"
url=" "
arch="all"
license="LGPL-2.1-only"
depends=""
makedepends=""
subpackages="$pkgname-doc $pkgname-dev"
source="http://distfiles.gentoo.org/distfiles/dotconf-$pkgver.tar.gz"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="ced0e66f70d11a309e77add1bfac1da8e85dcbe193633bd4bd1ae4bfd043b66880406e93ec18327b8c5d3de8d4bfc5278db6e5cb39b030ee1dabfa1ce267a98e  dotconf-1.3.tar.gz"