New package: qxmledit-0.9.12

This commit is contained in:
newbluemoon 2018-12-14 19:47:26 +01:00 committed by maxice8
parent e826e14a30
commit d08fb24de5
2 changed files with 44 additions and 0 deletions

1
srcpkgs/qxmledit-devel Symbolic link
View file

@ -0,0 +1 @@
qxmledit

43
srcpkgs/qxmledit/template Normal file
View file

@ -0,0 +1,43 @@
# Template file for 'qxmledit'
pkgname=qxmledit
version=0.9.12
revision=1
build_style=qmake
configure_args="QXMLEDIT_INST_DATA_DIR=/usr/share/qxmledit
QXMLEDIT_INST_DIR=/usr/bin
QXMLEDIT_INST_DOC_DIR=/usr/share/doc/qxmledit
QXMLEDIT_INST_LIB_DIR=/usr/lib
QXMLEDIT_INST_TRANSLATIONS_DIR=/usr/share/qxmledit/translations
QXMLEDIT_INST_INCLUDE_DIR=/usr/include/qxmledit"
makedepends="glu-devel qt5-devel qt5-declarative-devel qt5-scxml-devel
qt5-svg-devel qt5-xmlpatterns-devel"
short_desc="Simple XML Editor"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="LGPL-2.0-or-later, Zlib"
homepage="https://qxmledit.org/"
distfiles="https://github.com/lbellonda/qxmledit/archive/${version}.tar.gz"
checksum=d7636daf8a4623b7b325df4dde358fc28113e11de457b0b91136d05029b06952
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel qt5-declarative-devel qt5-scxml-devel
qt5-svg-devel qt5-xmlpatterns-devel"
fi
post_install() {
vlicense external/qwtplot3d/license.txt
vmkdir usr/share/appdata
vmkdir usr/share/applications
mv ${DESTDIR}/usr/share/qxmledit/*.appdata.xml ${DESTDIR}/usr/share/appdata/
mv ${DESTDIR}/usr/share/qxmledit/*.desktop ${DESTDIR}/usr/share/applications/
vinstall src/images/icon.svg 644 usr/share/pixmaps qxmledit.svg
vman install_scripts/environment/man/qxmledit.1
}
qxmledit-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}