summaryrefslogtreecommitdiff
path: root/extra/kmldonkey/PKGBUILD
blob: 234be2119c95c69cadcb61825ae1d6926c9d211b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 104423 2011-01-02 13:07:17Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgname=kmldonkey
pkgver=2.0.2
_kdever=4.4.0
pkgrel=5
pkgdesc="An MLDonkey frontend for KDE"
arch=('i686' 'x86_64')
url='http://userbase.kde.org/KMLDonkey'
license=('GPL')
depends=('kdebase-workspace')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'docbook-xsl')
install="${pkgname}.install"
source=("http://download.kde.org/stable/extragear/${pkgname}-${pkgver}-kde${_kdever}.tar.bz2")
md5sums=('40ae039dc01a45807111c2d0023eeaa6')

build() {
  cd ${srcdir}
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver}-kde${_kdever} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd ${srcdir}/build
  make DESTDIR=${pkgdir} install
}