New package: OpenLP-2.4.6

This commit is contained in:
Piotr Wójcik 2018-08-04 22:27:14 +02:00 committed by Helmut Pozimski
parent 2918bd2e45
commit e7cc686901

28
srcpkgs/OpenLP/template Normal file
View file

@ -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 <chocimier@tlen.pl>"
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
}