summaryrefslogtreecommitdiff
path: root/community/g2sc/PKGBUILD
blob: ee558d36699d85e8589c77b620bc14ffdf683bb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: dibblethewrecker dibblethewrecker.at.jiwe.dot.org

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

build()
{
  cd $startdir/src
  make || return 1 
  mkdir -p $startdir/pkg/usr/{share/{g2sc,applications},bin}
  install -m644 g2sc.conf $startdir/pkg/usr/share/g2sc || return 1
  install -m644 g2sc.png $startdir/pkg/usr/share/g2sc || return 1
  install -m755 g2sc $startdir/pkg/usr/bin || return 1
  install -m644 g2sc.desktop $startdir/pkg/usr/share/applications || return 1
}