packager="Great-OS Team"
maintainer="sipo"

description="A C library for parsing configuration files"
url="https://github.com/williamh/dotconf"

name=dotconf
version=1.4.1

PKGMK_KEEP_SOURCES="no"

source=(https://github.com/williamh/$name/archive/v$version.tar.gz)

build(){

  cd $name-$version
  autoreconf -i
  ./configure --prefix=/usr
  make

}

package() {

  cd $name-$version
  make DESTDIR="${PKG}" install
  rm $PKG/usr/lib/libdotconf.la
}
