28 lines
1,001 B
Bash
28 lines
1,001 B
Bash
# Template file for 'OpenLP'
|
|
pkgname=OpenLP
|
|
version=2.4.6
|
|
revision=1
|
|
archs=noarch
|
|
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
|
|
}
|