#Maintainer: Dimitris Jemos #Mandatory pkgname=dotconf pkgver=1.3 pkgrel=1slint source=(http://people.salixos.org/djemos/dotconf/$pkgname-$pkgver.tar.gz) #Optional docs=("README" "INSTALL" "COPYING" "AUTHORS") url=https://github.com/williamh/dotconf slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "dotconf (Configuration Parser Library)" "dotconf natively has the ability to 'Include' additional configuration" "files that can be found relative to a path pointed to by the" "DC_INCLUDEPATH environment variable, if it is set." "Relative to the directory containing the configuration file." "dotconf supports substitution of environment variables. Also supports" "so-called 'here-documents' as known from the shell or from PERL." "" "Homepage: https://github.com/williamh/dotconf" ) build() { cd $startdir/src/$pkgname-$pkgver || return 1 ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || return 1 mkdir -p $startdir/pkg/usr/doc || return 1 mv $startdir/pkg/usr/share/doc/dotconf $startdir/pkg/usr/doc/$pkgname-$pkgver || return 1 rm -rf $startdir/pkg/usr/share || return 1 }