[arch-commits] Commit in scribus/trunk (PKGBUILD.next)

Gaëtan Bisson bisson at archlinux.org
Fri Jul 1 00:59:54 UTC 2016


    Date: Friday, July 1, 2016 @ 00:59:54
  Author: bisson
Revision: 181655

prepare for next version based on qt5

Added:
  scribus/trunk/PKGBUILD.next

---------------+
 PKGBUILD.next |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

Added: PKGBUILD.next
===================================================================
--- PKGBUILD.next	                        (rev 0)
+++ PKGBUILD.next	2016-07-01 00:59:54 UTC (rev 181655)
@@ -0,0 +1,47 @@
+# $Id: PKGBUILD 173822 2016-05-05 09:44:28Z bisson $
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: tobias <tobias at archlinux.org>
+# Contributor: Ben <ben at benmazer.net>
+
+pkgname=scribus
+pkgver=1.5.2
+pkgrel=1
+pkgdesc='Desktop publishing software'
+url='http://www.scribus.net/'
+license=('GPL')
+arch=('i686' 'x86_64')
+makedepends=('cmake' 'boost')
+optdepends=('tk: scripts based on tkinter')
+depends=('qt5-quickcontrols' 'qt5-tools' 'boost-libs'
+         'cairo' 'lcms2' 'libcups' 'libxml2' 'podofo'
+         'python2' 'ghostscript' 'boost-libs' 'graphicsmagick')
+validpgpkeys=('5086B8D68E70FDDF4C40045AEF7B95E7F60166DA')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha1sums=('87f426863be8057d83e73b58649ccc2a3266c73b' 'SKIP')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	sed \
+		-e 's|#!/usr/bin/python|#!/usr/bin/python2|' \
+		-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+		-i scribus/plugins/scriptplugin/{samples,scripts}/*
+	install -d build
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}/build"
+	cmake .. \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_SKIP_RPATH=ON \
+		-DLIB_SUFFIX=""
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}/build"
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 ../scribus.desktop "${pkgdir}/usr/share/applications/scribus.desktop"
+}



More information about the arch-commits mailing list