diff options
author | zoe | 2016-12-15 22:12:47 +0100 |
---|---|---|
committer | zoe | 2016-12-15 22:12:47 +0100 |
commit | b4f6a8ad817e3aba4fd1e6a62ef30a97c7a69c54 (patch) | |
tree | f6889bf9cfd25082bc9290e0c0488d3ba6fa2106 | |
parent | e9e17528541ec180e9e7cc97da79b05104a393c2 (diff) | |
download | aur-b4f6a8ad817e3aba4fd1e6a62ef30a97c7a69c54.tar.gz |
Update to 2.0.0-1
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 20 insertions, 19 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Tue Feb 2 11:32:05 UTC 2016 +# Thu Dec 15 21:12:08 UTC 2016 pkgbase = kxstitch pkgdesc = The program that lets you create cross stitch patterns and charts. - pkgver = 1.3.0 + pkgver = 2.0.0 pkgrel = 1 url = https://userbase.kde.org/KXStitch install = kxstitch.install @@ -13,12 +13,14 @@ pkgbase = kxstitch makedepends = automoc4 makedepends = doxygen makedepends = patch - depends = kdebase-runtime + makedepends = extra-cmake-modules + makedepends = kdoctools + depends = plasma-framework depends = imagemagick - source = http://download.kde.org/stable/kxstitch/1.3.0/src/kxstitch-1.3.0.tar.bz2 + source = http://download.kde.org/stable/kxstitch/2.0.0/src/kxstitch-2.0.0.tar.xz source = kxstitch.install - md5sums = 6e7934065961646867a24004196693b0 - md5sums = 5b554364ee8db32e0bb1e881bf0bca34 + sha1sums = 3c0665ae6431632955aa00f416ebb8a34c7efcc3 + sha1sums = 8e58ce0776eff7ef29394a2f7a089191a4af0b1d pkgname = kxstitch @@ -1,36 +1,35 @@ # Maintainer: zoe <chp321@gmail.com> pkgname=kxstitch -pkgver=1.3.0 +pkgver=2.0.0 pkgrel=1 pkgdesc="The program that lets you create cross stitch patterns and charts." arch=('i686' 'x86_64') -depends=('kdebase-runtime' 'imagemagick') -makedepends=('cmake' 'automoc4' 'doxygen' 'patch') +depends=('plasma-framework' 'imagemagick') +makedepends=('cmake' 'automoc4' 'doxygen' 'patch' 'extra-cmake-modules' 'kdoctools') url="https://userbase.kde.org/KXStitch" license=('GPL') -source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2" 'kxstitch.install') -md5sums=('6e7934065961646867a24004196693b0' '5b554364ee8db32e0bb1e881bf0bca34') -install=kxstitch.install +source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" + "${pkgname}.install") +sha1sums=('3c0665ae6431632955aa00f416ebb8a34c7efcc3' '8e58ce0776eff7ef29394a2f7a089191a4af0b1d') +install=${pkgname}.install build() { cd "${srcdir}/kxstitch-${pkgver}" - sed -i 's/-DMAGICKCORE_HDRI_ENABLE=0/-DMAGICKCORE_HDRI_ENABLE=1/' CMakeLists.txt + #sed -i 's/-DMAGICKCORE_HDRI_ENABLE=0/-DMAGICKCORE_HDRI_ENABLE=1/' CMakeLists.txt # Avoid bug in cmake : - sed -i '5i\cmake_policy(SET CMP0002 OLD)' CMakeLists.txt + #sed -i '5i\cmake_policy(SET CMP0002 OLD)' CMakeLists.txt rm -rf build mkdir build cd build - cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. \ + cmake -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` .. \ -DCMAKE_BUILD_TYPE="Release" make } + package() { cd "${srcdir}/kxstitch-${pkgver}/build" make DESTDIR="${pkgdir}" install - - # this one is unnecessary and namcap hates this dangling link - #rm "${pkgdir}/usr/share/doc/kde/html/en/kxstitch/common" -}
\ No newline at end of file +} |