milis/talimatname/genel/atril/talimat

33 lines
839 B
Plaintext

# Description: MATE belge görüntüleyici
# URL: http://mate-desktop.org
# Packager: yasarciv67@gmail.com
# Depends on: caja caja-extensions gobject-introspection intltool itstool djvulibre libspectre poppler-glib webkitgtk2
name=atril
version=1.18.0
release=1
source=(http://pub.mate-desktop.org/releases/${version%.*}/$name-$version.tar.xz)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/${name} \
--with-gtk=2.0 \
--enable-djvu \
--enable-dvi \
--enable-epub \
--enable-t1lib \
--enable-pixbuf \
--enable-comics \
--enable-xps \
--enable-introspection
#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
}