pmaports/main/nota/APKBUILD

30 lines
954 B
Text
Raw Normal View History

2019-02-11 16:27:57 +00:00
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=nota
pkgver=0_git20190423
2019-02-11 16:27:57 +00:00
pkgrel=0
_commit="03180ff74a2440a9268e4218b071426672d98ff7"
2019-02-11 16:27:57 +00:00
pkgdesc="Nota is a simple and convergent text editor"
arch="all"
url="https://github.com/mauikit/nota"
license="GPL-2.0+ GPL-3.0+"
2019-02-11 16:27:57 +00:00
depends="mauikit"
makedepends="extra-cmake-modules qt5-qtbase-dev mauikit-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/mauikit/$pkgname/archive/$_commit.tar.gz"
options="!check" # No tests available
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" make install
}
sha512sums="66496e071a2695c3dbba6f0020cd84daf13bd14c1f7d06f5ec95f77cff0746fd6864cfdb6ae53b48d812fb89efedb24f46b4a5c427fd47bd77bf8da8c30ecf90 nota-03180ff74a2440a9268e4218b071426672d98ff7.tar.gz"