2009-02-16 22:57:48 +01:00
|
|
|
# Description: layout tool
|
|
|
|
# URL: http://scribus.net
|
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2009-10-04 20:57:36 +02:00
|
|
|
# Depends on: qt4, libart_lgpl, cmake, cairo, cups
|
2009-02-16 22:57:48 +01:00
|
|
|
|
|
|
|
name=scribus
|
2010-06-02 18:17:47 +02:00
|
|
|
version=1.3.7
|
2009-02-16 22:57:48 +01:00
|
|
|
release=1
|
2010-11-12 12:03:50 +01:00
|
|
|
source=(http://download.sourceforge.net/$name/$name-$version.tar.bz2)
|
2009-02-16 22:57:48 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
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_*
|
|
|
|
}
|