void-packages/srcpkgs/gamin/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

35 lines
959 B
Bash

# Template file for 'gamin'
pkgname=gamin
version=0.1.10
revision=2
build_style=gnu-configure
configure_args="--disable-static"
# no -python subpackage: failed to cross build for armv7hf
hostmakedepends="automake libtool pkg-config"
makedepends="glib-devel"
short_desc="Library providing the FAM File Alteration Monitor API"
maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-2.0-or-later"
homepage="http://www.gnome.org/~veillard/gamin/"
distfiles="$GNOME_SITE/gamin/0.1/gamin-${version}.tar.bz2"
checksum=a59948b20ce2f14136c013f155abb8c8d51db2ea167c063ff33461e453fec10a
patch_args=-Np0
pre_configure() {
autoreconf -fi
}
post_install() {
# "--disable-static" configure arg has no effect
rm ${DESTDIR}/usr/lib/libgamin_shared.a
}
gamin-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig/gamin.pc
}
}