diff options
Diffstat (limited to 'community/dar/PKGBUILD')
-rw-r--r-- | community/dar/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/dar/PKGBUILD b/community/dar/PKGBUILD new file mode 100644 index 000000000..d51e4007d --- /dev/null +++ b/community/dar/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 42079 2011-03-13 09:21:39Z shusmann $ +# Contributor: Aaron Schaefer <aaron@elasticdog.com> +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> +pkgname=dar +pkgver=2.3.11 +pkgrel=1 +pkgdesc='A full featured command-line backup tool, short for Disk ARchive' +arch=('i686' 'x86_64') +url='http://dar.linux.free.fr/' +license=('GPL') +depends=('attr' 'bzip2' 'gcc-libs' 'openssl' 'zlib') +source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('5f8766f50069faf0a915e691372e56f8') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc + make +} +package() { + cd "$srcdir/$pkgname-$pkgver" + install -d $pkgdir/usr/share/doc/$pkgname + make DESTDIR="$pkgdir" install + cd $pkgdir/usr/share/$pkgname + mv *.html $pkgdir/usr/share/doc/$pkgname + rm -r man + for _i in html mini-howto samples + do + mv ${_i} $pkgdir/usr/share/doc/$pkgname + done +} |