milis/talimatname/genel/p/python-caja/talimat

23 lines
661 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: Python Caja için bağlama, Caja özellik sayfası ve menü öğesi uzantılarının Python'da yazılmasına izin vermek
# URL: http://www.mate-desktop.org/
# Paketçi: yasarciv67@gmail.com
# Gerekler: intltool caja python-gobject
isim=python-caja
surum=1.20.0
devir=1
kaynak=(http://pub.mate-desktop.org/releases/${surum%.*}/$isim-$surum.tar.xz)
derle() {
cd $isim-$surum
sed -i 's/python-config/python2-config/' configure
PYTHON=/usr/bin/python2 ./configure \
--prefix=/usr
#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
}