milis/talimatname/genel/s/scribus/talimat

33 lines
875 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Masaüstü yayıncılık yazılımı
# URL: http://www.scribus.net
# Paketçi: milisarge
# Gerekler: cmake boost aspell cups qt4 gnutls kerberos boost ghostscript lcms libxml2 cairo desktop-file-utils shared-mime-info
2018-07-30 08:24:44 +02:00
# Grup: medya
2018-06-09 00:06:58 +02:00
isim=scribus
surum=1.4.5
devir=2
kaynak=(http://downloads.sourceforge.net/$isim/$isim-$surum.tar.bz2)
derle() {
unset MAKEFLAGS
cd $SRC*
sed -i -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \
-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
scribus-$surum/scribus/plugins/scriptplugin/{samples,scripts}/*
cd $isim-$surum
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DWANT_CAIRO=1 \
-DLIB_SUFFIX=""
make
make DESTDIR=$PKG install
install -Dm644 $SRC/$isim-$surum/scribus.desktop \
$PKG/usr/share/applications/scribus.desktop
}