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