vp-build/srcpkgs/xbps-devel/template
Juan RP e2169c9782 xbps{,-devel}: simplify.
--HG--
extra : convert_revision : b3ef6fe9a2c6e765a639a3910351ac23c5fcaa2f
2009-12-24 01:38:32 +01:00

37 lines
930 B
Plaintext

# Template file for 'xbps'
pkgname=xbps-devel
version="$(date +%Y%m%d)"
build_style=gnu_makefile
make_build_args="PREFIX="
make_install_args="PREFIX="
short_desc="The XBPS package system (development branch)"
maintainer="Juan RP <xtraeme@gmail.com>"
long_desc="
The XBPS package system. A new, fast, from scratch and simple
binary package manager. This packages includes code from a development
branch available from https://launchpad.net/xbps"
subpackages="$pkgname-static"
replaces="xbps"
nofetch=yes
noextract=yes
Add_dependency full glibc
Add_dependency full libarchive
Add_dependency full proplib
Add_dependency full openssl
Add_dependency build bzr
Add_dependency build asciidoc
do_fetch()
{
msg_normal "Fetching source from launchpad:xbps head branch..."
bzr branch lp:xbps ${pkgname}-${version} || return 1
}
post_install()
{
mkdir -p ${DESTDIR}/usr || return 1
mv ${DESTDIR}/share ${DESTDIR}/usr || return 1
}