Commit c0d82e76 authored by totte's avatar totte
Browse files

multiple: Miscellaneous

parent 2f035069
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
# Include global configuration
......@@ -12,30 +9,29 @@ pkgver=${_kdever}
pkgrel=1
pkgdesc="A nonogram logic game for KDE"
arch=('x86_64')
url='http://www.kde.org'
url='http://kde.org/applications/games/picmi/'
license=('GPL' 'LGPL' 'FDL')
depends=("kdegames-libkdegames>=${_kdever}")
makedepends=('pkg-config' 'cmake' 'automoc4')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha1sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
groups=("kde" "kdegames" "kde-uninstall")
provides=('picmi')
options=('docs' '!header' 'debug' 'log')
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
rm -rf ./build
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
cd ${srcdir}
mkdir build
cd build
cmake "../${_pkgname}-${pkgver}" \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=${_installprefix}
# -DCMAKE_SKIP_RPATH=ON \
# -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}/build
make DESTDIR=${pkgdir} install || return 1
cd "${srcdir}/build"
make DESTDIR=${pkgdir} install
}
......@@ -12,7 +12,7 @@ pkgdesc="A KDE visual diff viewer"
screenshot="http://www.kde.org/images/screenshots/kompare.png"
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
depends=("kde-runtime>=${_kdever}")
depends=("kde-runtime>=${_kdever}" 'libkomparediff2')
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
categories=('programming')
conflicts=('kdesdk-doc')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment