milis/talimatname/genel/p/pluma/talimat

26 lines
742 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: MATE için güçlü bir metin editörü
# URL: http://www.mate-desktop.org/
# Paketçi: yasarciv67@gmail.com
# Gerekler: intltool itstool gobject-introspection iso-codes gtksourceview3 libpeas
name=pluma
version=1.18.2
release=1
source=(http://pub.mate-desktop.org/releases/${version%.*}/$name-$version.tar.xz)
derle() {
cd $name-$version
sed -i 's/python/python2/' plugins/externaltools/data/switch-c.tool.in
PYTHON=/usr/bin/python2 ./configure \
--prefix=/usr \
--libexecdir=/usr/lib/$name \
--enable-gtk-doc=no \
--enable-python
#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
}