updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / fsfn-svn / PKGBUILD
blobccec1e6bac433aefd546c6a189e70ca08bc696cb
1 #Contributor: Bill Streeter <quimax@tds.net>
2 #Credit to Tebari on the forums for the origional build from the forums.
3 pkgname=fsfn-svn
4 pkgver=56
5 pkgrel=1
6 pkgdesc="Sony Vaio FS Laptop hotkey handler"
7 arch=('i686')
8 url="http://developer.berlios.de/projects/fsfn/"
9 license=('GPL')
10 depends=('xosd')
11 makedepends=('subversion')
12 backup=('etc/fsfn.conf')
13 source=('fsfn.rc.d')
14 md5sums=('f2c84cb5690b89407e439fd8ec572aa6')
17 _svntrunk=svn://svn.berlios.de/fsfn/trunk
18 _svnmod=fsfn
20 build() {
21     cd $startdir/src
23     msg "Starting SVN checkout..."
24     
25     svn co $_svntrunk/$_svnmod -r $pkgver $_svnmod
26     
27     msg "SVN checkout done or server timeout" 
28     msg "Starting make..."
29     
30     cp -r $_svnmod $_svnmod-build
31     cd $_svnmod-build
33     ./configure --prefix=/usr
34     make || return 1
35     make prefix=$startdir/pkg/usr install
37     cd $startdir/src
38     install -Dm755 fsfn.rc.d $startdir/pkg/etc/rc.d/fsfn
39     install -Dm644 $_svnmod-build/etc/fsfn.conf $startdir/pkg/etc/fsfn.conf
40     rm -rf $_svnmod-build