updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / fget-cvs / PKGBUILD
blob8f98a559a5fe81607075bdc51fbb6b4b655a6fe1
1 # Maintainer: Tino Reichardt <milky-archlinux@mcmilk.de>
2 pkgname=fget-cvs
3 pkgver=0.5
4 pkgrel=20060718
5 pkgdesc="a minimal http/ftp download tool"
6 url="http://www.fefe.de/fget/"
7 license="GPL"
8 depends=()
9 provides=('fget')
10 replaces=()
11 conflicts=()
12 makedepends=('cvs' 'dietlibc')
13 install=()
14 backup=()
15 source=()
16 md5sums=()
18 _cvsroot=":pserver:cvs@cvs.fefe.de:/cvs"
19 _cvsmod="fget"
21 build() {
22         msg "getting $_cvsmod from $_cvsroot ..."
23         cvs -z9 -d $_cvsroot co -D $pkgrel -f $_cvsmod
24         cd $_cvsmod
26         cd $startdir/src/fget
27         echo 'diet gcc -Os' > conf-cc
28         echo 'diet gcc -s'  > conf-ld
29         make fget
30         mkdir -p $startdir/pkg/man/man1 $startdir/pkg/usr/bin
31         cp -f fget1 $startdir/pkg/man/man1
32         cp -f fget $startdir/pkg/usr/bin