updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / kiconedit / PKGBUILD
blob37ba5a593c14567517d00df4c4839ae8a1bcae44
1 #Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
2 #Contributor: Andrea Scarpino <andrea@archlinux.org>
3 #Contributor: Pierre Schmitz <pierre@archlinux.de>
5 pkgname=kiconedit
6 pkgver=4.4.0
7 pkgrel=1
8 pkgdesc='KDE Icon Editor'
9 arch=('i686' 'x86_64')
10 url='http://www.kde.org/applications/graphics/kiconedit'
11 license=('GPL2')
12 depends=('kdebase-runtime')
13 makedepends=('pkgconfig' 'cmake' 'automoc4')
14 install='install'
15 source=("ftp://ftp.kde.org/pub/kde/stable/extragear/$pkgname-$pkgver.tar.bz2")
16 md5sums=('f2db6aff093cea2fcefceb3eb02a94c3')
18 build() {
19   # fix compilation handbook issue
20   sed -i '/add_subdirectory( hu_kiconedit\/kiconedit )/d' \
21     "$pkgname-$pkgver/doc-translations/CMakeLists.txt"
22   mkdir build || true
23   cd build
24   cmake "../$pkgname-$pkgver" \
25     -DCMAKE_BUILD_TYPE=Release \
26     -DCMAKE_INSTALL_PREFIX=/usr
27   make
30 package() {
31   cd build
32   make DESTDIR="$pkgdir" install
35 # vim:set ts=2 sw=2 ft=sh et: