vp-build/srcpkgs/xrootconsole/template

28 lines
819 B
Bash

# Template file for 'xrootconsole'
pkgname=xrootconsole
version=0.6r3
revision=2
create_wrksrc=yes
build_wrksrc="${pkgname}-${version%r*}"
build_style=gnu-makefile
makedepends="libX11-devel"
short_desc="Fancy X console display"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="https://packages.debian.org/source/sid/xrootconsole"
distfiles="${DEBIAN_SITE}/main/x/${pkgname}/${pkgname}_${version%r*}.orig.tar.gz
${DEBIAN_SITE}/main/x/${pkgname}/${pkgname}_${version/r/-}.debian.tar.gz"
checksum="8306de6f4d3f39677334ee65214e46729cf2dd89aeff1705df3c499738a4076d
67a511d19e0f2ead7e57850e0fa73f0932d329a9849d0aba48a03661c0d6737a"
post_extract() {
for p in debian/patches/*.patch; do
patch -d $build_wrksrc -Np1 <$p
done
}
do_install() {
vbin xrootconsole
vman xrootconsole.1
}