void-packages/srcpkgs/xrootconsole/template

29 lines
856 B
Bash

# Template file for 'xrootconsole'
pkgname=xrootconsole
reverts=0.6r3_3
version=0.6.5
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
332e080e61f02290454147f14624a94803e4664a996271cfab124633b48f9bcf"
post_extract() {
for p in debian/patches/*.patch; do
patch -d $build_wrksrc -Np1 <$p
done
}
do_install() {
vbin xrootconsole
vman xrootconsole.1
}