Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
huggle-PKGBUILD.patch
diff --git a/PKGBUILD b/PKGBUILD
index a4eeb48..6caac5d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Samuel Damashek <samuel dot damashek at gmail dot com>
# Maintainer: Alex Xu <alex_y_xu dot yahoo at ca>
pkgname=huggle
-pkgver=3.4.4
+pkgver=3.4.6
pkgrel=1
pkgdesc="diff browser intended for dealing with vandalism and other unconstructive edits on Wikimedia projects"
arch=('i686' 'x86_64')
url="https://en.wikipedia.org/wiki/Wikipedia:Huggle"
license=('GPL')
-depends=('qt5-multimedia' 'qt5-webengine')
+depends=('qt5-multimedia' 'qt5-webengine' 'yaml-cpp')
makedepends=('cmake' 'ninja')
source=("git+https://github.com/huggle/huggle3-qt-lx.git#tag=${pkgver}")
sha256sums=('SKIP')
@@ -20,6 +20,7 @@ prepare() {
# sigh
(cd src/huggle_core; ./update.sh)
+ (cd src/; sed -e '/3rd\/yaml-cpp/ s/^#*/#/' -i CMakeLists.txt)
}
build() {
@@ -43,5 +44,4 @@ build() {
package() {
cd "$srcdir/huggle3-qt-lx/src"
DESTDIR=$pkgdir ninja install
- find "$pkgdir" -name '*yaml-cpp*' -exec rm -rf {} +
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.