summaryrefslogtreecommitdiff
path: root/community/g2sc/PKGBUILD
blob: 4ffa33cdf73006041069979a3bc3afe60d88c0ed (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 65518 2012-02-21 08:40:35Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=g2sc
pkgver=0.2
pkgrel=4
pkgdesc="Samba gtk2 client"
arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/g2sc"
license=('GPL')
depends=('smbclient' 'gtk2')
source=(http://downloads.sourceforge.net/g2sc/${pkgver}/g2cs${pkgver}alpha-source.tar.bz2)
md5sums=('c0994584f2c950241bf7e2782cb4d2fd')

build() {
  cd ${srcdir}
  make
}

package() {
  cd ${srcdir}
  mkdir -p ${pkgdir}/usr/{share/{g2sc,applications},bin}
  install -m644 g2sc.conf ${pkgdir}/usr/share/g2sc
  install -m644 g2sc.png ${pkgdir}/usr/share/g2sc
  install -m755 g2sc ${pkgdir}/usr/bin
  install -m644 g2sc.desktop ${pkgdir}/usr/share/applications
}