desktop/par2cmdline/PKGBUILD
2014-06-06 08:28:05 +00:00

32 lines
685 B
Bash

# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
pkgname=par2cmdline
pkgver=0.6.7
pkgrel=1
arch=('x86_64')
pkgdesc='A PAR 2.0 compatible file verification and repair tool'
url='https://github.com/BlackIkeEagle/par2cmdline'
license=('GPL2')
depends=('gcc-libs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/BlackIkeEagle/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('dd177953a2a72742bc10a08250b949aeff48c907263ea6722f4246c9d2089411')
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
}