[arch-commits] Commit in basket/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Oct 15 16:56:50 UTC 2020
Date: Thursday, October 15, 2020 @ 16:56:49
Author: arojas
Revision: 398403
archrelease: copy trunk to staging-x86_64
Added:
basket/repos/staging-x86_64/
basket/repos/staging-x86_64/PKGBUILD
(from rev 398402, basket/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: basket/repos/staging-x86_64/PKGBUILD (from rev 398402, basket/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-10-15 16:56:49 UTC (rev 398403)
@@ -0,0 +1,37 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: James Rayner <james at archlinux.org>
+# Contributor: lucke <lucke at o2 dot pl>
+
+pkgname=basket
+_pkgver=2.49
+pkgver=${_pkgver}b
+pkgrel=4
+pkgdesc="All-purpose notes taker for KDE."
+arch=('x86_64')
+url="https://basket-notepads.github.io/"
+depends=('kcmutils' 'kfilemetadata' 'kparts' 'phonon-qt5' 'libgit2')
+makedepends=('extra-cmake-modules' 'kdoctools')
+license=('GPL')
+source=(https://launchpad.net/basket/kde5/$pkgver/+download/basket-$_pkgver-beta.tar.bz2
+ basket-libgit2-0.99.patch::"https://invent.kde.org/utilities/basket/-/commit/090ac469.patch")
+sha256sums=('e760fc68deb1f56ef02cd4a1773c6cd348b79b88ef5ff5dfb05e66947244f186'
+ 'd68cffcb4ab5227524763dd74f707ff8fae2e79121cf6f92c915cc8d8de9724d')
+
+prepare() {
+ mkdir -p build
+
+ cd $pkgname-$_pkgver-beta
+ patch -p1 -i ../basket-libgit2-0.99.patch # Fix build with libgit 0.99
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$_pkgver-beta \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list