[arch-commits] Commit in basket/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Apr 1 21:41:06 UTC 2020


    Date: Wednesday, April 1, 2020 @ 21:41:05
  Author: arojas
Revision: 379072

libgit 1.0 rebuild

Modified:
  basket/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-01 21:38:44 UTC (rev 379071)
+++ PKGBUILD	2020-04-01 21:41:05 UTC (rev 379072)
@@ -5,7 +5,7 @@
 pkgname=basket
 _pkgver=2.49
 pkgver=${_pkgver}b
-pkgrel=2
+pkgrel=3
 pkgdesc="All-purpose notes taker for KDE."
 arch=('x86_64')
 url="https://basket-notepads.github.io/"
@@ -12,13 +12,16 @@
 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)
-sha256sums=('e760fc68deb1f56ef02cd4a1773c6cd348b79b88ef5ff5dfb05e66947244f186')
+source=(https://launchpad.net/basket/kde5/$pkgver/+download/basket-$_pkgver-beta.tar.bz2
+        basket-libgit2-0.99.patch::"https://cgit.kde.org/basket.git/patch/?id=090ac469")
+sha256sums=('e760fc68deb1f56ef02cd4a1773c6cd348b79b88ef5ff5dfb05e66947244f186'
+            '3e6c47eff6d7087bdac784c689444c33c504d91aaffa97bef2e379918775c73a')
 
 prepare() {
   mkdir -p build
 
-  sed -e 's|LIBGIT2_SOVERSION|99|g' -i $pkgname-$_pkgver-beta/src/application.cpp # Hack to fix build with libgit2 0.99
+  cd $pkgname-$_pkgver-beta
+  patch -p1 -i ../basket-libgit2-0.99.patch # Fix build with libgit 0.99
 }
 
 build() {



More information about the arch-commits mailing list