summaryrefslogtreecommitdiff
path: root/community/g2sc/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-22 23:15:20 +0000
committerroot <root@rshg054.dnsready.net>2012-02-22 23:15:20 +0000
commit1d9fb21dff6df1679e536ab672edcbbdb4cf3a15 (patch)
tree803d7c2e3ac59d0ba8ac74c1b2a6dc6167937631 /community/g2sc/PKGBUILD
parent1f55cedf5ea357497d2a98eb2be78d8dab4a9665 (diff)
Wed Feb 22 23:15:20 UTC 2012
Diffstat (limited to 'community/g2sc/PKGBUILD')
-rw-r--r--community/g2sc/PKGBUILD32
1 files changed, 19 insertions, 13 deletions
diff --git a/community/g2sc/PKGBUILD b/community/g2sc/PKGBUILD
index a026abe98..a12fa1702 100644
--- a/community/g2sc/PKGBUILD
+++ b/community/g2sc/PKGBUILD
@@ -1,23 +1,29 @@
-# Maintainer: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
+# $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=3
+pkgrel=4
pkgdesc="Samba gtk2 client"
arch=('i686' 'x86_64')
-license=('GPL')
url="http://sourceforge.net/projects/g2sc"
+license=('GPL')
depends=('smbclient' 'gtk2')
-source=(http://downloads.sourceforge.net/g2sc/$pkgver/g2cs${pkgver}alpha-source.tar.bz2)
+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
+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
}