PKGBUILDs/extra/hdup/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
802 B
Bash

# $Id: PKGBUILD 31056 2009-03-24 07:18:37Z eric $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
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
}