# Description: Helper tools for libalpm # URL: https://github.com/andrewgregory/pacutils # Maintainer: Erich Eckner, crux at eckner dot net # Depends on: pacman name=pacutils version=0.9.0 release=1 source=( https://github.com/andrewgregory/pacutils/archive/cb761a911ca54374c0e32f92a177976275dbfe9a.tar.gz https://github.com/andrewgregory/globdir.c/archive/f7ea40047c1b23e5035a3626c9187c64539d66f2.tar.gz https://github.com/andrewgregory/mINI.c/archive/ee64e149ed725b932adf23e0228f7cd8cb856901.tar.gz https://github.com/andrewgregory/tap.c/archive/8ce85ce0ab95593c333e705f6eff44121b29e142.tar.gz ) build() { cd $name-* rm -rf --one-file-system ext/globdir.c ext/mini.c t/tap.c mv ../globdir.c-* ext/globdir.c mv ../mINI.c-* ext/mini.c mv ../tap.c-* t/tap.c make SYSCONFDIR=/etc LOCALSTATEDIR=/var make check make DESTDIR=$PKG PREFIX=/usr install }