# $Id: PKGBUILD 31056 2009-03-24 07:18:37Z eric $ # Maintainer: damir # Contributor: Damir Perisa pkgname=hdup pkgver=2.0.14 pkgrel=2 pkgdesc="The little, spiffy, backup tool" arch=(i686 x86_64) url="http://miek.nl/projects/hdup2/" license=('GPL2') depends=('coreutils' 'mcrypt' 'openssh' 'gnupg' 'gzip' 'bzip2' 'lzop' 'glibc' 'glib2') backup=('etc/hdup/hdup.conf') source=(http://miek.nl/projects/hdup2/$pkgname-$pkgver.tar.bz2) md5sums=('7795ac9dd5a1ae40d330a54b6a6e91a3') build() { cd $srcdir/${pkgname}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man || return 1 make || return 1 make DESTDIR=$pkgdir install || return 1 chmod a+r $pkgdir/etc/hdup/hdup.conf chmod a+r $pkgdir/etc/hdup/postrun-warn-user }