Commit 1af10da3 authored by totte's avatar totte
Browse files

kdegraphics-kruler: Update

parent 4af952c6
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
# Contributors: H W Tovetjärn (totte) <totte@tott.es>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
......@@ -10,31 +8,39 @@ pkgname=kdegraphics-kruler
_pkgname=kruler
pkgver=${_kdever}
pkgrel=1
pkgdesc="Screen Ruler"
url="http://kde.org/applications/graphics/kruler/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
pkgdesc='Screen ruler for measuring pixels'
url='http://kde.org/applications/graphics/kruler/'
arch=('x86_64')
license=('GPL'
'LGPL'
'FDL')
depends=("kde-runtime>=${_kdever}")
makedepends=('cmake' 'automoc4')
makedepends=('cmake'
'automoc4')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha1sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
install=${pkgname}.install
groups=("kde" "kdegraphics" "kde-uninstall")
groups=('kde'
'kdegraphics'
'kde-uninstall')
categories=('graphics')
provides=('kruler')
options=('docs' '!header' 'debug' 'log')
options=('docs'
'!header'
'debug'
'log')
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
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}/${_pkgname}-${pkgver}
cmake . \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}
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