From 22e9168930c450f8b834280263ae78efa6808ba7 Mon Sep 17 00:00:00 2001 From: Francesco Date: Sun, 26 Jan 2014 17:19:46 +0000 Subject: [PATCH] par2cmdline added from CCR and updated to 0.6.4 --- par2cmdline/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 par2cmdline/PKGBUILD diff --git a/par2cmdline/PKGBUILD b/par2cmdline/PKGBUILD new file mode 100644 index 000000000..d9c904e27 --- /dev/null +++ b/par2cmdline/PKGBUILD @@ -0,0 +1,34 @@ +# Part of chakra-project.org +# +# Maintainer: Francesco Marinucci +# + +pkgname=par2cmdline +pkgver=0.6.4 +pkgrel=1 +pkgdesc='A PAR 2.0 compatible file verification and repair tool' +url='https://github.com/BlackIkeEagle/par2cmdline' +license=('GPL2') +depends=('gcc-libs') +arch=('x86_64') +source=("$pkgname-$pkgver.tar.gz::https://github.com/BlackIkeEagle/$pkgname/archive/v$pkgver.tar.gz") +sha256sums=('431da50fdd794881bad7e1b0dee234e8102d7065f53abd7ce1e86be758810116') + +build() { + cd "$pkgname-$pkgver" + aclocal + automake --add-missing + autoconf + ./configure --prefix=/usr + make +} + +check() { + cd "$pkgname-$pkgver" + make check +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +}