summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzoe2015-09-21 20:59:19 +0200
committerzoe2015-09-21 20:59:19 +0200
commit469a25123cf0a737bb566982b111a9c4a7387c21 (patch)
treef4a230680d88adc9cff5d7fc78afd55ae66e464c
parent60abe4bdb3b3b2289445db84964b3feaae798134 (diff)
downloadaur-469a25123cf0a737bb566982b111a9c4a7387c21.tar.gz
Update to 1.2.0-9
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD25
2 files changed, 6 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 224bf8ec74d3..3dec5cdc6ee7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kxstitch
pkgdesc = The program that lets you create cross stitch patterns and charts.
pkgver = 1.2.0
- pkgrel = 8
+ pkgrel = 9
url = http://kxstitch.sourceforge.net/
install = kxstitch.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index a5d1dfb58cea..7a4121467d66 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: zoe <chp321@gmail.com>
pkgname=kxstitch
pkgver=1.2.0
-pkgrel=8
+pkgrel=9
pkgdesc="The program that lets you create cross stitch patterns and charts."
arch=('i686' 'x86_64')
depends=('kdebase-runtime' 'imagemagick')
@@ -15,25 +15,10 @@ install=kxstitch.install
build() {
cd "$srcdir/kxstitch-${pkgver}"
sed -i 's/-DMAGICKCORE_HDRI_ENABLE=0/-DMAGICKCORE_HDRI_ENABLE=1/' CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/ca/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/cs/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/da/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/de/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/en_GB/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/es/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/et/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/fr/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/hu/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/it/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/lt/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/nl/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/pl/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/pt/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/pt_BR/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/sk/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/sv/CMakeLists.txt
- #sed -i '1i\cmake_policy(SET CMP0002 OLD)' po/uk/CMakeLists.txt
+
+ # Avoid bug in cmake :
+ sed -i '5i\cmake_policy(SET CMP0002 OLD)' CMakeLists.txt
+
rm -rf build
mkdir build
cd build