29 lines
805 B
Plaintext
29 lines
805 B
Plaintext
# Description: layout tool
|
|
# URL: http://scribus.net
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Depends on: qt4, libart_lgpl, cairo, cups
|
|
|
|
name=scribus
|
|
version=1.4.8
|
|
release=1
|
|
source=(http://download.sourceforge.net/$name/$name-$version.tar.xz)
|
|
source=(http://sourceforge.net/projects/scribus/files/scribus/$version/scribus-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MAN_DIR=/usr/man
|
|
|
|
make && make DESTDIR=$PKG install
|
|
|
|
#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
|
|
rm -rf $PKG/usr/man/pl
|
|
rm -rf $PKG/usr/share/doc
|
|
rm -rf $PKG/usr/share/$name/scripts/{ChangeLog,NEWS,TODO}
|
|
rm -rf $PKG/usr/share/scribus/dicts/README_*
|
|
}
|