32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'pluma'
|
|
pkgname=pluma
|
|
version=1.10.1
|
|
revision=1
|
|
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"
|
|
depends="pygtksourceview desktop-file-utils iso-codes zenity"
|
|
pycompile_dirs="usr/lib/pluma/plugins"
|
|
short_desc="A powerful text editor for MATE"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2"
|
|
homepage="http://mate-desktop.org"
|
|
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=c15b7548ee4f9d480d5e52376e10e668aa51bf783d73228f4bba13e3554b8aac
|
|
|
|
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() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|