From 1d9fb21dff6df1679e536ab672edcbbdb4cf3a15 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 22 Feb 2012 23:15:20 +0000 Subject: Wed Feb 22 23:15:20 UTC 2012 --- community/g2sc/PKGBUILD | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) (limited to 'community/g2sc') 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 +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Maintainer: Daniel J Griffiths 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 } -- cgit v1.2.3-54-g00ecf