diff --git a/srcpkgs/xbps-git/template b/srcpkgs/xbps-git/template index 61ce05fecc8..ae6cb9824f4 100644 --- a/srcpkgs/xbps-git/template +++ b/srcpkgs/xbps-git/template @@ -7,10 +7,6 @@ maintainer="Juan RP " homepage="http://www.voidlinux.eu/xbps" license="Simplified BSD" -build_style=configure -configure_script="env HAVE_VASPRINTF=1 ./configure" -configure_args="--prefix=/usr --sysconfdir=/etc --enable-debug --enable-static --enable-tests" - hostmakedepends="which pkg-config" makedepends="zlib-devel openssl-devel libarchive-devel>=3.1.2 confuse-devel atf-devel" @@ -25,6 +21,18 @@ do_fetch() { git clone ${url} ${pkgname}-${version} } +do_configure() { + HAVE_VASPRINTF=1 ./configure --prefix=/usr --sysconfdir=/etc --enable-debug --enable-static --enable-tests +} + +do_build() { + make ${makejobs} +} + +do_install() { + make DESTDIR=$DESTDIR install +} + libxbps-git_package() { short_desc+=" - runtime library" provides="libxbps-${version}_${revision}"