summaryrefslogtreecommitdiff
path: root/extra/smb4k/PKGBUILD
blob: a44cc4263c4db41c18d920055e49e6efcf7330e3 (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
# $Id: PKGBUILD 131691 2011-07-13 14:56:55Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Emanuele Rampichini <emanuele.rampichini@gmail.com>

pkgname=smb4k
pkgver=0.10.70
pkgrel=1
pkgdesc="A KDE program that browses samba shares"
arch=('i686' 'x86_64' 'mips64el')
url="http://smb4k.berlios.de/"
license=('GPL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4' 'docbook-xsl')
install=smb4k.install
source=("http://download.berlios.de/smb4k/${pkgname}-${pkgver}.tar.bz2")
md5sums=('30f916d8f72fc43a9eca8f344960b43a')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE
  make VERBOSE=1
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}