void-packages/srcpkgs/notepadqq/template
Piraty 60ccb93f93 notepadqq: update to 1.4.0. (#182)
also:
- disable statistics collection
- provide an easier startup script (that does not segfault like upstream's)
2018-06-21 06:05:22 +02:00

25 lines
783 B
Bash

# Template file for 'notepadqq'
pkgname=notepadqq
version=1.4.0
revision=1
build_style=qmake
hostmakedepends="pkg-config qt5-tools"
makedepends="qt5-svg-devel qt5-webkit-devel"
depends="desktop-file-utils hicolor-icon-theme"
maintainer="Orphaned <orphan@voidlinux.eu>"
short_desc="Text editor for developers"
homepage="https://notepadqq.com"
license="GPL-3.0-or-later"
distfiles="https://github.com/notepadqq/notepadqq/archive/v${version}.tar.gz"
checksum=f295353224848c06fafcc71c7f6a38780a98890075ab33f0179181ebf21bad08
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-svg-devel qt5-webkit-devel"
fi
post_install() {
# no need for upstream's weird magic, leads to segfaults anyway
rm "${DESTDIR}/usr/bin/notepadqq"
# use our simple start scipt
vbin ${FILESDIR}/notepadqq
}