PKGBUILDs/extra/smb4k/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
718 B
Bash

# $Id: PKGBUILD 53524 2009-10-01 23:22:35Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Emanuele Rampichini <emanuele.rampichini@gmail.com>
pkgname=smb4k
pkgver=0.10.4
pkgrel=1
pkgdesc="A KDE program that browses samba shares."
arch=('i686' 'x86_64')
url="http://smb4k.berlios.de/"
license=('GPL2')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
install=smb4k.install
source=(http://download.berlios.de/smb4k/$pkgname-$pkgver.tar.bz2)
md5sums=('e8676d8baaecdbcee60354c687a88a55')
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE
make VERBOSE=1 || return 1
make DESTDIR=$startdir/pkg install || return 1
}