milis/talimatname/genel/pluma/talimat

26 lines
749 B
Plaintext
Raw Normal View History

2017-01-24 00:43:48 +01:00
# Description: MATE için güçlü bir metin editörü
2017-06-23 13:09:15 +02:00
# URL: http://www.mate-desktop.org/
# Packager: yasarciv67@gmail.com
# Depends on: intltool itstool gobject-introspection iso-codes gtksourceview3 libpeas
2017-01-24 00:43:48 +01:00
name=pluma
2017-06-23 13:09:15 +02:00
version=1.18.2
2017-01-24 00:43:48 +01:00
release=1
source=(http://pub.mate-desktop.org/releases/${version%.*}/$name-$version.tar.xz)
build() {
2017-06-23 13:09:15 +02:00
cd $name-$version
sed -i 's/python/python2/' plugins/externaltools/data/switch-c.tool.in
PYTHON=/usr/bin/python2 ./configure \
2017-01-24 00:43:48 +01:00
--prefix=/usr \
2017-06-23 13:09:15 +02:00
--libexecdir=/usr/lib/$name \
2017-01-24 00:43:48 +01:00
--enable-gtk-doc=no \
--enable-python
2017-06-23 13:09:15 +02:00
#https://bugzilla.gnome.org/show_bug.cgi?id=656231
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
2017-01-24 00:43:48 +01:00
}