libpeas: no more Makefile to patch

This commit is contained in:
Leah Neukirchen 2019-12-23 17:23:23 +01:00
parent aa3e62ceea
commit d32dab89b0

View file

@ -1,7 +1,7 @@
# Template file for 'libpeas'
pkgname=libpeas
version=1.24.0
revision=1
revision=2
build_style=meson
build_helper="gir"
hostmakedepends="pkg-config intltool glib-devel python3 lua51"
@ -15,12 +15,6 @@ homepage="https://wiki.gnome.org/Projects/Libpeas"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=0b9a00138c129a663de3eef5569b00ace03ce31d345f7af783768e9f35c8e6f9
pre_build() {
if [ "$CROSS_BUILD" ]; then
vsed 's|tests||g' -i Makefile
fi
}
post_install() {
# Remove demo.
rm -rf ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/peas-demo