1 # Contributor: bekks <eduard.warkentin@gmail.com>
5 pkgdesc="backup whole directory structures"
7 url="http://linux.maruhn.com/sec/mirrordir.html"
9 depends=(shadow tcp_wrappers)
10 source=(ftp://ftp.heanet.ie/pub/gnewsense/gnewsense/pool/universe/m/${pkgname}/${pkgname}_${pkgver}-intl.orig.tar.gz)
11 md5sums=('3960390645543ad75890296ff9d7750a')
14 cd $startdir/src/$pkgname-$pkgver-intl
15 ./configure --prefix=/usr --sysconfdir=/etc
17 make DESTDIR=$startdir/pkg install
18 cd $startdir/pkg/usr/bin
19 ln -s mirrordir ./copydir
20 ln -s mirrordir ./pslogin
21 ln -s mirrordir ./recursdir
22 mkdir -p $startdir/pkg/etc/ssocket
23 mv $startdir/pkg/usr/etc/ssocket/*.* $startdir/pkg/etc/ssocket/
24 rm -rf $startdir/pkg/usr/etc/