diff options
author | Antoni Aloy Torrens <aaloytorrens@gmail.com> | 2021-04-18 01:46:22 +0200 |
---|---|---|
committer | Michał Polański <michal@polanski.me> | 2021-04-23 00:17:20 +0000 |
commit | fe3785290f4857f33ccf3ed001868255e0cbb99b (patch) | |
tree | 8c7058b244c2c3efa7efb84f1268393fbb84bb21 | |
parent | 0ff404f490068cbb3ffb4107d73fff70d34bb71d (diff) |
testing/noblenote: new aport
-rw-r--r-- | testing/noblenote/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/noblenote/APKBUILD b/testing/noblenote/APKBUILD new file mode 100644 index 00000000000..1ac8c89946d --- /dev/null +++ b/testing/noblenote/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Antoni Aloy <aaloytorrens@gmail.com> +pkgname=noblenote +pkgver=1.2.1 +pkgrel=0 +pkgdesc="Program to make and manage notes" +url="https://github.com/hakaishi/nobleNote" +arch="all" +license="MIT" +makedepends="qt5-qtbase-dev qt5-qttools-dev coreutils" +source="https://github.com/hakaishi/nobleNote/archive/v$pkgver/nobleNote-$pkgver.tar.gz" +options="!check" # No test suite +builddir="$srcdir/nobleNote-$pkgver" + +prepare() { + default_prepare + sed -i 's|Icon=noblenote|Icon=/usr/share/pixmaps/noblenote-icons/noblenote|' noblenote.desktop +} + +build() { + qmake-qt5 PREFIX=/usr +} + +package() { + make INSTALL_ROOT="$pkgdir" install + install -Dm644 noblenote.desktop \ + "$pkgdir"/usr/share/applications/noblenote.desktop +} + +sha512sums="3c218931f6bff313dbeeec15ad486feef6bb5a467a308a6e2eec10b6ccdc9bd60bf58f1ebebc0e69c634e62b08ea9b9f5440bd1830f9d25d0cd7dd7fa18af122 nobleNote-1.2.1.tar.gz" |