blob: fae06894ff3dcac4d9175bcb7ff007f8a05cb7d6 (
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
30
|
# $Id: PKGBUILD 106941 2014-03-10 20:47:40Z jelle $
# 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=5
pkgdesc="Samba gtk2 client"
arch=('i686' 'x86_64')
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}
sed -i 's/-lsmbclient/-I\/usr\/include\/samba-4.0 -lsmbclient/g' makefile
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
}
|