1 # Maintainer: A Rojas <nqn1976 @ gmail.com>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Pierre Schmitz <pierre@archlinux.de>
9 pkgdesc="An MLDonkey frontend for KDE"
10 arch=('i686' 'x86_64')
11 url='http://userbase.kde.org/KMLDonkey'
13 depends=('kdebase-runtime' 'mldonkey')
14 makedepends=('cmake' 'automoc4')
15 optdepends=('kdebase-workspace: to use the plasma applet')
16 install="${pkgname}.install"
17 source=("https://api.opensuse.org:443/public/source/home:eduardhc/${pkgname}-kde4/${pkgname}-${pkgver}.tar.bz2" "ftp://ftp.kde.org/pub/kde/stable/extragear/${pkgname}-2.0.2-kde4.4.0.tar.bz2")
18 md5sums=('52062ca60b3b449c82e9db0bad1bc31c'
19 '40ae039dc01a45807111c2d0023eeaa6')
24 mv ${pkgname}-2.0.2-kde4.4.0/po ${pkgname}-${pkgver}/
25 echo "find_package(Msgfmt REQUIRED)" >> ${pkgname}-${pkgver}/CMakeLists.txt
26 echo "find_package(Gettext REQUIRED)" >> ${pkgname}-${pkgver}/CMakeLists.txt
27 echo "add_subdirectory( po )" >> ${pkgname}-${pkgver}/CMakeLists.txt
30 cmake ../${pkgname}-${pkgver} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
36 make DESTDIR=${pkgdir} install