summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-16 23:03:39 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-16 23:03:39 +0000
commit493901e32901b94a76d8cea5c27121e8268aa87d (patch)
treee44923eceb94f32c92c29b3fdc2fe4f72b84adc2
parentc4c4b463a78ffde072112ecad59465c162396d9e (diff)
downloadpackages-493901e32901b94a76d8cea5c27121e8268aa87d.tar.gz
packages-493901e32901b94a76d8cea5c27121e8268aa87d.tar.bz2
packages-493901e32901b94a76d8cea5c27121e8268aa87d.tar.xz
packages-493901e32901b94a76d8cea5c27121e8268aa87d.zip
user/dotconf: new package
-rw-r--r--user/dotconf/APKBUILD43
1 files changed, 43 insertions, 0 deletions
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 <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-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"