2019-02-11 16:27:47 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=buho
|
2019-10-03 13:53:11 +00:00
|
|
|
pkgver=0_git20190924
|
2019-11-17 19:06:56 +00:00
|
|
|
pkgrel=1
|
2019-10-03 13:53:11 +00:00
|
|
|
_commit="375480f43ca3f1eefb0fe029582426ad94e760ae"
|
2019-02-11 16:27:47 +00:00
|
|
|
pkgdesc="Note taking app based on MauiKit"
|
|
|
|
arch="all"
|
2019-06-21 14:24:45 +00:00
|
|
|
url="https://invent.kde.org/kde/buho"
|
|
|
|
license="GPL-2.0-or-later"
|
2019-02-11 16:27:47 +00:00
|
|
|
depends="mauikit"
|
2019-06-01 20:32:49 +00:00
|
|
|
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-dev"
|
2019-10-03 13:53:11 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/buho/-/archive/$_commit.tar.gz"
|
2019-02-11 16:27:47 +00:00
|
|
|
options="!check" # No tests available
|
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
|
|
|
|
build() {
|
2019-06-21 14:24:45 +00:00
|
|
|
cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2019-11-17 19:06:56 +00:00
|
|
|
|
|
|
|
# Workaround for broken CMakeLists.txt
|
|
|
|
sed -i s/std=gnu90/std=c99/g CMakeFiles/buho.dir/flags.make
|
|
|
|
|
2019-02-11 16:27:47 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-06-21 14:24:45 +00:00
|
|
|
DESTDIR="$pkgdir" make install
|
2019-02-11 16:27:47 +00:00
|
|
|
}
|
2019-10-03 13:53:11 +00:00
|
|
|
sha512sums="5ab80674990634c3791e3e9efded2f03d1c671c043dd8c10bbab24903a01d2fcbd378b784ef7608e8d2db71ab8bdcb0d8c93ce00540cb97c753430498c5c2df0 buho-375480f43ca3f1eefb0fe029582426ad94e760ae.tar.gz"
|