From e7cc686901ac2916e3f2c7b701377822721e2290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Sat, 4 Aug 2018 22:27:14 +0200 Subject: [PATCH] New package: OpenLP-2.4.6 --- srcpkgs/OpenLP/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/OpenLP/template diff --git a/srcpkgs/OpenLP/template b/srcpkgs/OpenLP/template new file mode 100644 index 00000000000..4f0694f6a70 --- /dev/null +++ b/srcpkgs/OpenLP/template @@ -0,0 +1,28 @@ +# Template file for 'OpenLP' +pkgname=OpenLP +version=2.4.6 +revision=1 +noarch=yes +build_style=python3-module +pycompile_module="openlp" +hostmakedepends="python3-setuptools qt5-host-tools" +depends="python3-BeautifulSoup4 python3-PyQt5-multimedia python3-PyQt5-opengl + python3-PyQt5-webkit python3-SQLAlchemy python3-alembic python3-chardet + python3-lxml" +short_desc="Free Worship Presentation Software for your Church" +maintainer="Piotr Wójcik " +license="GPL-2.0-only" +homepage="https://openlp.org/" +distfiles="https://get.openlp.org/${version}/OpenLP-${version}.tar.gz" +checksum=f63dcf5f1f8a8199bf55e806b44066ad920d26c9cf67ae432eb8cdd1e761fc30 + +post_install() { + rm -r ${DESTDIR}/usr/lib/python*/site-packages/tests + mv ${DESTDIR}/usr/bin/openlp.py ${DESTDIR}/usr/bin/openlp + vinstall resources/openlp.desktop 644 usr/share/applications + vmkdir usr/share/openlp/i18n + cd resources/i18n + for i in *.ts; do + lconvert -i "${i}" -o "${DESTDIR}/usr/share/openlp/i18n/${i%ts}qm" + done +}