updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / ws / PKGBUILD
blob77e166c3651d9889ebbc7d32921265b6839d8380
1 # Maintainer: Manuel Carreira <arch@carreira.com.pt>
2 pkgname=ws
3 pkgver=0.6.3
4 _pkgver=0.6-3
5 pkgrel=1
6 pkgdesc="Mounts windows shares available in network"
7 arch=('any')
8 url="http://winshares.sourceforge.net/"
9 license=('GPL')
10 groups=()
11 depends=('samba>=3.0.20-2' 'sudo' 'gawk' 'sed')
12 makedepends=()
13 optdepends=()
14 provides=()
15 conflicts=()
16 replaces=()
17 backup=()
18 options=()
19 install=INSTALL
20 source=(http://downloads.sourceforge.net/project/winshares/winshares/Winshares%20${_pkgver}/${pkgname}-${_pkgver}.tar.gz)
21 noextract=()
22 md5sums=('bff300695cad6b66cab68ca5935a8062')
24 build() {
25   cd "$srcdir/$pkgname-$_pkgver"
26   
27   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/bin
28   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/sbin
29   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/applications
30   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/pixmaps
31   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/locale/pt/LC_MESSAGES
32   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/locale/pt_PT/LC_MESSAGES
33   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/man/man1 
34   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/man/man5
35   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/man/man8
36   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/man/pt/man1
37   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/man/pt_PT/man1
38   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/man/pt/man5
39   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/man/pt_PT/man5
40   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/man/pt/man8
41   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/man/pt_PT/man8
42   install -o 0 -g 0 -d -m 0755 $pkgdir/usr/share/doc/$pkgname-$pkgver
44   install -m 750 ws-auto $pkgdir/usr/sbin/ws-auto
45   install -m 755 ws $pkgdir/usr/bin/ws
46   install -m 750 ws-confsudo $pkgdir/usr/sbin/ws-confsudo
47   install -m 0644 locale/pt.mo $pkgdir/usr/share/locale/pt/LC_MESSAGES/ws.mo
48   install -m 0644 locale/pt_PT.mo $pkgdir/usr/share/locale/pt_PT/LC_MESSAGES/ws.mo
49   install -m 644 ws-on.desktop $pkgdir/usr/share/applications/ws-on.desktop
50   install -m 644 ws-off.desktop $pkgdir/usr/share/applications/ws-off.desktop
51   install -m 644 ws_close.png $pkgdir/usr/share/pixmaps/ws_close.png
52   install -m 644 ws_open.png $pkgdir/usr/share/pixmaps/ws_open.png
53   install -m 644 DOCS/ws.1.gz $pkgdir/usr/share/man/man1/ws.1.gz
54   install -m 644 DOCS/ws.pt.1.gz $pkgdir/usr/share/man/pt/man1/ws.1.gz
55   install -m 644 DOCS/ws.pt_PT.1.gz $pkgdir/usr/share/man/pt_PT/man1/ws.1.gz
56   install -m 644 DOCS/ws.conf.5.gz $pkgdir/usr/share/man/man5/ws.conf.5.gz
57   install -m 644 DOCS/ws.conf.pt.5.gz $pkgdir/usr/share/man/pt/man5/ws.conf.5.gz
58   install -m 644 DOCS/ws.conf.pt_PT.5.gz $pkgdir/usr/share/man/pt_PT/man5/ws.conf.5.gz
59   install -m 644 DOCS/ws-utils.8.gz $pkgdir/usr/share/man/man8/ws-utils.8.gz
60   install -m 644 DOCS/ws-utils.pt.8.gz $pkgdir/usr/share/man/pt/man8/ws-utils.8.gz
61   install -m 644 DOCS/ws-utils.pt_PT.8.gz $pkgdir/usr/share/man/pt_PT/man8/ws-utils.8.gz
62   install -m 644 COPYING $pkgdir/usr/share/doc/$pkgname-$pkgver/COPYING
63   install -m 644 ChangeLog $pkgdir/usr/share/doc/$pkgname-$pkgver/ChangeLog
64   install -m 644 FAQ $pkgdir/usr/share/doc/$pkgname-$pkgver/FAQ
65   install -m 644 INSTALL $pkgdir/usr/share/doc/$pkgname-$pkgver/INSTALL
66   install -m 644 MANIFEST $pkgdir/usr/share/doc/$pkgname-$pkgver/MANIFEST
67   install -m 644 README $pkgdir/usr/share/doc/$pkgname-$pkgver/README
68   install -m 644 TODO $pkgdir/usr/share/doc/$pkgname-$pkgver/TODO
69   install -m 644 DOCS/ws.conf.example $pkgdir/usr/share/doc/$pkgname-$pkgver/ws.conf.example
70   install -m 644 ws.po $pkgdir/usr/share/doc/$pkgname-$pkgver/ws.po
71     
74 # vim:set ts=2 sw=2 et: