void-packages/srcpkgs/xosd/template

28 lines
993 B
Bash

# Template file for 'xosd'
pkgname=xosd
version=2.2.14
revision=1
build_style="gnu-configure"
hostmakedepends="pkg-config"
makedepends="gtk+3-devel"
short_desc="Simple tool to display shaped text on your X display"
maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
license="GPL-2.0-or-later"
homepage="http://sourceforge.net/projects/libxosd/"
distfiles="${SOURCEFORGE_SITE}/libxosd/xosd-${version}.tar.gz
http://ftp.de.debian.org/debian/pool/main/x/xosd/xosd_${version}-2.1.debian.tar.xz"
checksum="4f1fa96f4895baee6a3cba40f188a0da23bbac9d68e8c326d749e084143cb508
ccde8324c909d75e60b124146d1e20c6a586385934dc15df02b7209f7324322d"
skip_extraction="xosd_${version}-2.1.debian.tar.xz"
post_extract() {
bsdtar xvJf ${XBPS_SRCDISTDIR}/xosd-${version}/xosd_${version}-2.1.debian.tar.xz \
-C ${wrksrc}/ --strip-components=1 \
debian/patches/328676.diff debian/patches/25_fix_mangapges.diff
}
post_patch() {
patch -Np1 -i patches/328676.diff
patch -Np1 -i patches/25_fix_mangapges.diff
}