updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / kpws / PKGBUILD
blob63911b96e07f6c5b0073d8eb9574ef6449388199
1 # Contributors: Mladen Pejaković <pejakm@gmail.com>
3 pkgname=kpws
4 pkgver=0.1
5 pkgrel=1
6 pkgdesc="KDE Personal WebServer is a utility made to ease file sharing in KDE"
7 url="http://kde-apps.org/content/show.php?content=120462"
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 depends=('kdebase-workspace')
11 source=(http://kde-apps.org/CONTENT/content-files/120462-${pkgname}.tar.gz
12         kpws.desktop)
14 md5sums=('696af10f593fab5dca3bd1916ff1bb9a'
15          'dfb108bda22c87fb9ac27f9a6edcaa1e')
17 build() {
18    cd $srcdir/$pkgname
19    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE
21    make VERBOSE=1 || return 1
22    make DESTDIR=$pkgdir install || return 1
23    install -D -m 644 ${srcdir}/${pkgname}.desktop $pkgdir/usr/share/applications/${pkgname}.desktop || return 1