description='Desktop publishing software' url='http://www.scribus.net' packager="spiky " contributors="Pierre,Tnut" makedepends=(icu cmake boost aspell cups qttools qtdeclarative gnutls kerberos podofo librevenge boost ghostscript lcms2 libxml2 cairo poppler) run=(shared-mime-info desktop-file-utils) name=scribus version=1.6.2 release=4 source=(https://downloads.sourceforge.net/$name/$name-$version.tar.xz) build() { cd $name-$version mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_SKIP_RPATH=ON \ -DWANT_CPP17=ON \ -DLIB_SUFFIX="" make make DESTDIR=$PKG install ln -sv /usr/share/scribus/icons/1_5_0/lab.png $PKG/usr/share/scribus/icons/1_5_1/lab.png ln -sv /usr/share/scribus/icons/1_5_0/spot.png $PKG/usr/share/scribus/icons/1_5_1/spot.png ln -sv /usr/share/scribus/icons/1_5_0/register.png $PKG/usr/share/scribus/icons/1_5_1/register.png install -Dm644 ../scribus.desktop \ $PKG/usr/share/applications/scribus.desktop }