# Template build file for 'xbps-src-utils'. pkgname=xbps-src-utils version="$(date -u +%Y%m%d)" homepage="https://github.com/davehome/xbps-src-utils" makedepends="git pkg-config glib-devel libxbps-devel" revision=3 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-src-utils.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} }