# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=notepadqq pkgver=1.3.6 pkgrel=2 pkgdesc="Notepad++-like text editor for Linux" url="https://notepadqq.altervista.org/" arch="x86 x86_64" license="GPL3" depends="coreutils qt5-qtwebkit qt5-qtsvg qt5-qtbase" makedepends="qt5-qtbase-dev qt5-qttools-dev qt5-qtsvg-dev qt5-qtwebkit-dev qt5-qtwebkit" source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" prepare() { default_prepare cd "$builddir" sed -i \ -e 's:/lib/notepadqq/:/bin/:' \ src/ui/ui.pro sed -i -e 's:\.\./\.\.:\.\.:' src/ui/notepadqq.cpp } build() { cd "$builddir" qmake-qt5 PREFIX=/usr LRELEASE=/usr/lib/qt5/bin/lrelease notepadqq.pro make } check() { cd "$builddir" make check } package() { cd "$builddir" make INSTALL_ROOT="$pkgdir" install } sha512sums="1940b2e7e68c1dfdcf6ebbcbe21f5816c083d6546271af845a3698940d23a823a01949299f8e4e2d3edbbcba0dd52fa0df28b2e26c29bdf29ae7003ff0c800f2 notepadqq-1.3.6.tar.gz"