aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-26 01:20:00 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-27 08:08:23 +0000
commitb89e4827aae6907bb6838b31c68af567e429f874 (patch)
tree0210aa02b0810fa9737e8941ac32c33bb881521e /testing
parent863d0826f5816d18cad580fd9e2821d8116d0d0c (diff)
downloadaports-b89e4827aae6907bb6838b31c68af567e429f874.tar.bz2
aports-b89e4827aae6907bb6838b31c68af567e429f874.tar.xz
testing/notepadqq: modernize, fix license
Diffstat (limited to 'testing')
-rw-r--r--testing/notepadqq/APKBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/testing/notepadqq/APKBUILD b/testing/notepadqq/APKBUILD
index e4aab4439b..e86cd73cb3 100644
--- a/testing/notepadqq/APKBUILD
+++ b/testing/notepadqq/APKBUILD
@@ -2,20 +2,18 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=notepadqq
pkgver=1.4.8
-pkgrel=0
+pkgrel=1
pkgdesc="Notepad++-like text editor for Linux"
url="https://notepadqq.altervista.org/"
arch="x86 x86_64"
-license="GPL3"
+license="GPL-3.0-only" # No source code headers
depends="coreutils qt5-qtwebkit qt5-qtsvg qt5-qtbase"
-makedepends="qt5-qtbase-dev qt5-qttools-dev qt5-qtsvg-dev
- qt5-qtwebkit-dev qt5-qtwebkit"
+makedepends="qt5-qtbase-dev qt5-qttools-dev qt5-qtsvg-dev
+ qt5-qtwebkit-dev"
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
@@ -23,18 +21,15 @@ prepare() {
}
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
}