7 pkgdesc="A desktop publishing program"
10 url="http://www.scribus.net"
11 install=${pkgname}.install
12 depends=('libcups>=1.2.10' 'lcms>=1.16' 'qt3>=3.3.8' 'ghostscript>=8.15.4' \
13 'libart-lgpl>=2.3.19' 'python>=2.5' 'libxml2>=2.6.27' 'cairo' \
17 source=('http://surfnet.dl.sourceforge.net/sourceforge/scribus/scribus-1.2.5.tar.bz2' 'scribus.svg' 'old-scribus.desktop' 'old-scribus-python.patch' 'old-scribus.install')
18 md5sums=('e005b1d616b8668bb23f0a130465385a' 'ab63e2607f9cbdccd1f89cd2561fc4e3' '816f9f25169a6c87d66b38e933571c9e' '8767cf4fdc1a0d0598bf7bfe45adfa67' '2889113b089fdb01bfd73370ab082926')
21 # Source the QT profile
22 source /etc/profile.d/qt3.sh
24 patch ${startdir}/src/scribus-1.2.5/acinclude.m4 < old-scribus-python.patch
26 cd ${startdir}/src/scribus-1.2.5
28 ./configure --program-prefix=old- --prefix=/opt/scribus-1.2.5
30 make DESTDIR=$startdir/pkg install
32 install -d ${startdir}/pkg/usr/bin
33 ln -sf /opt/scribus-1.2.5/bin/old-scribus ${startdir}/pkg/usr/bin/old-scribus
35 install -Dm644 $startdir/scribus.svg ${startdir}/pkg/usr/share/pixmaps/scribus.svg
37 install -Dm644 $startdir/old-scribus.desktop ${startdir}/pkg/usr/share/applications/old-scribus.desktop