2014-09-02 10:32:56 +02:00
|
|
|
# Template file for 'pluma'
|
|
|
|
pkgname=pluma
|
2015-05-19 11:45:41 +02:00
|
|
|
version=1.10.0
|
2015-05-23 03:38:28 +02:00
|
|
|
revision=2
|
2014-09-02 10:32:56 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-gtk=2.0 --enable-python"
|
|
|
|
hostmakedepends="pkg-config intltool itstool"
|
|
|
|
makedepends="gtk+-devel enchant-devel libSM-devel mate-desktop-devel
|
|
|
|
gtksourceview2-devel libsoup-devel pygtk-devel pygtksourceview iso-codes"
|
2015-05-23 03:38:28 +02:00
|
|
|
depends="pygtksourceview desktop-file-utils iso-codes zenity"
|
2014-09-02 10:32:56 +02:00
|
|
|
pycompile_dirs="usr/lib/pluma/plugins"
|
|
|
|
short_desc="A powerful text editor for MATE"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-09-02 10:32:56 +02:00
|
|
|
license="LGPL-2"
|
|
|
|
homepage="http://mate-desktop.org"
|
2015-05-19 11:45:41 +02:00
|
|
|
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=e42d846341ab88a56ffe73af23cd4b98a48b83469d6d75bd9dd3cb93d67466e9
|
2014-09-02 10:32:56 +02:00
|
|
|
|
2015-05-18 19:37:17 +02:00
|
|
|
pre_configure() {
|
|
|
|
# ACCESSPERMS is glibc specific... unportable.
|
|
|
|
sed -i 's,ACCESSPERMS,(S_IRWXU|S_IRWXG|S_IRWXO),g' tests/document-saver.c
|
|
|
|
}
|
|
|
|
|
2014-09-02 10:32:56 +02:00
|
|
|
pluma-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|