updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / quickswitch / PKGBUILD
blob5ea0a69e91f01ff79c318805b1b04f9d507c5afb
1 # $Id: PKGBUILD,v 1.7 2006/05/27 16:40:25 andyrtr Exp $
2 # Maintainer: eric <eric@archlinux.org>
3 # Contributor: Manolis Tzanidakis
5 pkgname=quickswitch
6 pkgver=1.05
7 pkgrel=2
8 pkgdesc="A little utility for creating and using roaming network profiles."
9 arch=(i686 x86_64)
10 url="http://muthanna.com/quickswitch"
11 depends=('perl')
12 source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
13 md5sums=('3e72649f65ee6eb87f0f8850aa28ca38')
15 build() {
16   cd $startdir/src/$pkgname-$pkgver
17   # fix config path
18   for f in switcher switchto switchto.conf; do 
19     /bin/sed -i "s:/etc/switchto.conf:/etc/quickswitch/switchto.conf:g" $f
20   done
21   /bin/install -D -m 755 switcher $startdir/pkg/usr/bin/switcher
22   /bin/install -D -m 755 switchto $startdir/pkg/usr/bin/switchto
23   /bin/install -D -m 644 switchto.conf \
24       $startdir/pkg/etc/quickswitch/switchto.conf.examle
26 # vim: ts=2 sw=2 et ft=sh