Date: Tuesday, January 12, 2021 @ 14:30:33 Author: archange Revision: 819902
podofo 0.9.7 rebuild Modified: scribus/trunk/PKGBUILD ----------+ PKGBUILD | 48 ++++++++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 20 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-01-12 14:30:21 UTC (rev 819901) +++ PKGBUILD 2021-01-12 14:30:33 UTC (rev 819902) @@ -7,7 +7,7 @@ pkgname=scribus pkgver=1.5.6.1 -pkgrel=5 +pkgrel=6 pkgdesc="Desktop publishing software" arch=(x86_64) url="https://www.scribus.net/" @@ -19,35 +19,43 @@ makedepends=(cmake boost mesa qt5-tools) optdepends=('tk: scripts based on tkinter' 'hyphen-lang: hyphenation patterns for desired languages') -source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.asc}) -sha256sums=(d4257695539cfa40dead8abdaf04c51e34d4d74bcad5a2c934d08e6e9d43b7ab SKIP) +source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.asc} + scribus-podofo-0.9.7.patch::https://github.com/scribusproject/scribus/commit/c6182ef92820b422d61c904e40e9fed865458eb5.patch) +sha256sums=('d4257695539cfa40dead8abdaf04c51e34d4d74bcad5a2c934d08e6e9d43b7ab' + 'SKIP' + 'ef40f58da30e024d85abc20384853b4d3e7ec02ec8db97f3470528c351119d99') validpgpkeys=(5086B8D68E70FDDF4C40045AEF7B95E7F60166DA # Peter Linnell <[email protected]> 757F5E9B13DD648887AD50092D47C099E782504E # The Scribus Team (www.scribus.net) <[email protected]> 6558BE84D27273A438A151198BEA48118AEBEE64) # Craig Bradney <[email protected]> +prepare() { + cd ${pkgname}-${pkgver} + patch -Np1 -i ../scribus-podofo-0.9.7.patch +} + build() { - cmake -B build -S ${pkgname}-${pkgver} \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_SKIP_RPATH=ON - # FS#59800 - #-DWANT_GRAPHICSMAGICK=1 - make -C build + cmake -B build -S ${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_SKIP_RPATH=ON + # FS#59800 + #-DWANT_GRAPHICSMAGICK=1 + make -C build } package() { - make -C build DESTDIR="${pkgdir}" install + make -C build DESTDIR="${pkgdir}" install - cd ${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} - install -Dm644 scribus.desktop -t "${pkgdir}"/usr/share/applications + install -Dm644 scribus.desktop -t "${pkgdir}"/usr/share/applications - for i in 16x16 32x32 128x128 256x256 512x512 1024x1024 - do - install -Dm644 resources/iconsets/artwork/icon_${i}.png "${pkgdir}"/usr/share/icons/hicolor/${i}/apps/scribus.png - done + for i in 16x16 32x32 128x128 256x256 512x512 1024x1024 + do + install -Dm644 resources/iconsets/artwork/icon_${i}.png "${pkgdir}"/usr/share/icons/hicolor/${i}/apps/scribus.png + done - # Use system hyphen - rm -rf "${pkgdir}"/usr/share/scribus/dicts/hyph - ln -sf /usr/share/hyphen "${pkgdir}"/usr/share/scribus/dicts/hyph + # Use system hyphen + rm -rf "${pkgdir}"/usr/share/scribus/dicts/hyph + ln -sf /usr/share/hyphen "${pkgdir}"/usr/share/scribus/dicts/hyph }
