void-packages/srcpkgs/xbps-src/template

31 lines
712 B
Plaintext

# Template file for 'xbps-src'
pkgname=xbps-src
version=20130417
revision=2
build_style=gnu-makefile
make_build_args="PREFIX=/usr ETCDIR=/etc/xbps"
make_install_args="PREFIX=/usr ETCDIR=/etc/xbps"
short_desc="The XBPS package system - binary package builder"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps"
license="GPL-2"
nofetch=yes
noextract=yes
do_fetch() {
local url="git://github.com/xtraeme/xbps-src"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
xbps-src_package() {
conf_files="/etc/xbps/xbps-src.conf"
replaces="xbps-src-git>=0"
depends="bash xbps-triggers>=0.54 fakeroot"
pkg_install() {
vmove etc
vmove usr
}
}