pmaports/main/buho/APKBUILD

33 lines
1.2 KiB
Text
Raw Normal View History

2019-02-11 16:27:47 +00:00
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=buho
pkgver=0_git20190423
2019-02-11 16:27:47 +00:00
pkgrel=0
_commit="50e7c89b7e80dd633267b95c64f987cb8e3a4e36"
2019-02-11 16:27:47 +00:00
pkgdesc="Note taking app based on MauiKit"
arch="all"
url="https://github.com/mauikit/buho"
license="GPL-2.0+ GPL-3.0+"
2019-02-11 16:27:47 +00:00
depends="mauikit"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtwebengine-dev mauikit-dev ki18n-dev knotifications-dev kconfig-dev kio-dev attica-qt-dev"
2019-02-11 16:27:47 +00:00
source="$pkgname-$_commit.tar.gz::https://github.com/mauikit/$pkgname/archive/$_commit.tar.gz"
options="!check" # No tests available
builddir="$srcdir/$pkgname-$_commit"
build() {
# Building with CMake is broken currently, so build with qmake for now
#cmake \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_INSTALL_PREFIX=/usr \
# -DCMAKE_INSTALL_LIBDIR=lib
2019-02-11 16:27:47 +00:00
qmake-qt5
make
}
package() {
cd "$builddir"
#DESTDIR="$pkgdir" make install
INSTALL_ROOT="$pkgdir" make install
2019-02-11 16:27:47 +00:00
}
sha512sums="31bd1b76b0bf0cae72e0d990125784a94bff200e5dc670a1bf8ec6ada42261ccad09ac6706839a75c4a80dfac643afd9b572bd61e306de793e3d85dd887e8f75 buho-50e7c89b7e80dd633267b95c64f987cb8e3a4e36.tar.gz"