void-packages/srcpkgs/xrootconsole/template

29 lines
856 B
Bash

# Template file for 'xrootconsole'
pkgname=xrootconsole
reverts=0.6r3_3
version=0.6.4
revision=1
create_wrksrc=yes
build_wrksrc="xrootconsole-${version%.*}"
build_style=gnu-makefile
makedepends="libX11-devel"
short_desc="Fancy X console display"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://packages.debian.org/source/sid/xrootconsole"
distfiles="${DEBIAN_SITE}/main/x/xrootconsole/xrootconsole_${version%.*}.orig.tar.gz
${DEBIAN_SITE}/main/x/xrootconsole/xrootconsole_${version%.*}-${version##*.}.debian.tar.xz"
checksum="8306de6f4d3f39677334ee65214e46729cf2dd89aeff1705df3c499738a4076d
4d9429c1588d3be7b47eeba6f06371184e71562a439ec9fcacc340776b845f41"
post_extract() {
for p in debian/patches/*.patch; do
patch -d $build_wrksrc -Np1 <$p
done
}
do_install() {
vbin xrootconsole
vman xrootconsole.1
}