diff --git a/srcpkgs/xbps-src-utils/template b/srcpkgs/xbps-src-utils/template new file mode 100644 index 0000000000..6029d48836 --- /dev/null +++ b/srcpkgs/xbps-src-utils/template @@ -0,0 +1,35 @@ +# Template build file for 'xbps-src-utils'. +pkgname=xbps-src-utils +version="$(date -u +%Y%m%d)" +homepage="https://github.com/davehome/xbps-repo-checkvers" +makedepends="git pkg-config glib-devel proplib-devel libxbps-devel +libarchive-devel confuse-devel" +revision=1 +short_desc="Various tools for xbps-src in C (like repo-checkvers)" +maintainer="davehome " +license="Simplified BSD, GPL" +long_desc=" + Various tools for xbps-src in C (like repo-checkvers) + + * The xbps-repo-checkvers program shows which XBPS binary packages need to be + rebuilt on your system by comparing the versions of the binary packages which + are available in the XBPS repositories registered in your xbps.conf with the + latest available versions of them in the source package tree." + +nofetch=yes +noextract=yes + +do_fetch() { + local url="git://github.com/davehome/xbps-repo-checkvers.git" + msg_normal " Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +} + +do_build() { + make ${makejobs} +} + +do_install() { + vinstall "${wrksrc}/xbps-repo-checkvers" 755 usr/bin + vinstall "${wrksrc}/COPYING" 644 usr/share/licenses/${pkgname} +} diff --git a/srcpkgs/xbps-src-utils/xbps-src-utils.rshlibs b/srcpkgs/xbps-src-utils/xbps-src-utils.rshlibs new file mode 100644 index 0000000000..c1a3f0facc --- /dev/null +++ b/srcpkgs/xbps-src-utils/xbps-src-utils.rshlibs @@ -0,0 +1,4 @@ +libglib-2.0.so.0 +libprop.so.0 +libxbps.so.0 +libc.so.6