# Tanım: Gobject tabanlı eklenti motoru
# URL: https://wiki.gnome.org/Projects/Libpeas
# Paketçi: milisarge
# Gerekler: python3 intltool python-gobject glade gobject-introspection gnome-common gtk3
# Grup: kütüphane

isim=libpeas
surum=1.22.0
devir=1

kaynak=(http://ftp.gnome.org/pub/gnome/sources/$isim/${surum%.*}/$isim-$surum.tar.xz)

derle() {
	cd $isim-$surum
	./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
	--disable-gtk-doc --disable-static
	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/gtk-doc
	find $PKG/ -name *.la -exec rm {} \;
}

