void-packages/srcpkgs/xbps-src/template

27 lines
705 B
Plaintext

# Template file for 'xbps-src'
pkgname=xbps-src
version="$(date -u +%Y%m%d)"
revision=1
build_style=gnu-makefile
make_build_args="PREFIX=/usr ETCDIR=/etc/xbps"
make_install_args="PREFIX=/usr ETCDIR=/etc/xbps"
conf_files="/etc/xbps/xbps-src.conf"
short_desc="The XBPS package system - binary package builder"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps"
license="Simplified BSD"
noarch=yes
nofetch=yes
noextract=yes
makedepends="git"
depends="xbps-triggers>=0.54 linux-user-chroot fakeroot"
replaces="xbps-src-git>=0"
do_fetch() {
local url="git://github.com/xtraeme/xbps-src"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}