-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
27 lines (25 loc) · 971 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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
${DEBIAN_SITE}/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
}