void-packages/srcpkgs/xbps-src-utils/template

42 lines
1.1 KiB
Text
Raw Normal View History

2012-07-06 13:22:51 +00:00
# Template build file for 'xbps-src-utils'.
pkgname=xbps-src-utils
2013-08-31 17:01:36 +00:00
version=20130831
2013-07-11 17:23:41 +00:00
revision=1
homepage="https://github.com/davehome/xbps-src-utils"
hostmakedepends="pkg-config"
makedepends="libxbps-devel>=0.25"
2012-07-06 13:22:51 +00:00
short_desc="Various tools for xbps-src in C (like repo-checkvers)"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
2012-07-06 13:22:51 +00:00
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."
do_fetch() {
local url="git://github.com/davehome/xbps-src-utils.git"
2012-07-06 13:22:51 +00:00
msg_normal " Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
do_configure() {
./configure --prefix=/usr --etcdir=/etc
}
do_build() {
make
}
do_install() {
make DESTDIR=${DESTDIR} install
2012-07-06 13:22:51 +00:00
}
xbps-src-utils_package() {
pkg_install() {
vmove usr
}
}