2009-02-16 22:57:48 +01:00
|
|
|
# Description: layout tool
|
|
|
|
# URL: http://scribus.net
|
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2017-11-07 00:18:15 +01:00
|
|
|
# Depends on: qt4, libart_lgpl, cairo, cups
|
2009-02-16 22:57:48 +01:00
|
|
|
|
|
|
|
name=scribus
|
2019-03-19 03:48:07 +01:00
|
|
|
version=1.4.8
|
2009-02-16 22:57:48 +01:00
|
|
|
release=1
|
2013-04-12 10:19:32 +02:00
|
|
|
source=(http://download.sourceforge.net/$name/$name-$version.tar.xz)
|
2017-05-08 02:10:12 +02:00
|
|
|
source=(http://sourceforge.net/projects/scribus/files/scribus/$version/scribus-$version.tar.xz)
|
2009-02-16 22:57:48 +01:00
|
|
|
|
|
|
|
build() {
|
2013-04-12 10:19:32 +02:00
|
|
|
cd $name-$version
|
2009-02-16 22:57:48 +01:00
|
|
|
|
2009-08-11 22:38:14 +02:00
|
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MAN_DIR=/usr/man
|
2009-02-16 22:57:48 +01:00
|
|
|
|
2009-02-17 18:00:12 +01:00
|
|
|
make && make DESTDIR=$PKG install
|
2009-08-13 00:14:02 +02:00
|
|
|
|
|
|
|
#CMAKE_MAN_DIR seems to be ignored..
|
|
|
|
rm -rf $PKG/usr/share/man/de
|
|
|
|
mv $PKG/usr/share/man $PKG/usr
|
|
|
|
|
|
|
|
rm -rf $PKG/usr/share/man
|
2009-02-16 22:57:48 +01:00
|
|
|
rm -rf $PKG/usr/man/pl
|
2009-08-12 23:24:23 +02:00
|
|
|
rm -rf $PKG/usr/share/doc
|
2009-08-11 22:38:14 +02:00
|
|
|
rm -rf $PKG/usr/share/$name/scripts/{ChangeLog,NEWS,TODO}
|
2009-02-16 22:57:48 +01:00
|
|
|
rm -rf $PKG/usr/share/scribus/dicts/README_*
|
|
|
|
}
|