pluma: unbreak musl build: ACCESSPERMS is unportable.

This commit is contained in:
Juan RP 2015-05-18 19:37:17 +02:00
parent a2517de667
commit d9bb2d56f7

View file

@ -1,7 +1,7 @@
# Template file for 'pluma'
pkgname=pluma
version=1.8.1
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-gtk=2.0 --enable-python"
hostmakedepends="pkg-config intltool itstool"
@ -16,6 +16,11 @@ homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/1.8/${pkgname}-${version}.tar.xz"
checksum=38accc5c05062981a0649874300bc21ab3ad1a5ef47491186dffe7c035ed9e8b
pre_configure() {
# ACCESSPERMS is glibc specific... unportable.
sed -i 's,ACCESSPERMS,(S_IRWXU|S_IRWXG|S_IRWXO),g' tests/document-saver.c
}
pluma-devel_package() {
short_desc+=" - development files"
pkg_install() {