# Maintainer: Simon Rupf pkgname=dar pkgver=2.6.8 pkgrel=1 pkgdesc="Disk ARchive" url="http://dar.linux.free.fr/" arch="all" license="GPL-2.0-or-later" options="!check" # the provided "make check" requires root permissions makedepends="zlib-dev bzip2-dev lzo-dev xz-dev libgcrypt-dev gpgme-dev e2fsprogs-dev librsync-dev curl-dev gettext-dev automake autoconf libtool libthreadar-dev" subpackages="$pkgname-doc $pkgname-lang $pkgname-libs $pkgname-dev" source="https://downloads.sourceforge.net/dar/dar-$pkgver.tar.gz configure-sys-xattr.patch fix-autoreconf.patch" prepare() { default_prepare autoreconf -fi } build() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --disable-dar-static \ --disable-static \ --disable-upx make } package() { make DESTDIR="$pkgdir" install } sha512sums="a36c020a92154889821add12c51b5195bf7253f6b3edfa343ae359fea6b93a0b7f6fb1e6673198aa78e1682ed98102633c731a99456b38f0521774d386596da7 dar-2.6.8.tar.gz 0635b62bc38d8493ae9b3631f0b4989996f5f631b93c7c9e9396bf12d4699f0fed1a507c52867651f9c2b88d9d6a72063389989153e9566cf62ea682580816e5 configure-sys-xattr.patch cd28d64c49afa3e648b2082f7f287221c9d407f0f86457c54c1fef090694e005e46caf29d89fcdc7a7cca6a73f9bb706ef233cbf87799942e404b881262437e8 fix-autoreconf.patch"