summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b58203c4317..6557ea038d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,11 +2,11 @@
pkgname=cherrytree-git
_pkgname="${pkgname%%-git}"
-pkgver=0.99.19.r5.gcb239d48
+pkgver=0.99.25.r22.g7f00d91b
pkgrel=1
pkgdesc="Hierarchical note-taking application, git version"
arch=('x86_64')
-url="https://github.com/giuspen/${_pkgname}"
+url="https://github.com/giuspen/cherrytree"
license=('GPL3')
depends=('gspell'
'gtksourceviewmm'
@@ -14,7 +14,7 @@ depends=('gspell'
'uchardet')
makedepends=('cmake'
'git'
- 'python-lxml')
+ 'python')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git+https://github.com/giuspen/${_pkgname}.git")
@@ -25,6 +25,11 @@ pkgver() {
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare() {
+ # Fix automatic optimisation flag override
+ sed -i 's/-O3/-O2/' "${_pkgname}/CMakeLists.txt"
+}
+
build() {
cmake \
-B "${_pkgname}/build" \