2014-01-27 01:19:46 +08:00
|
|
|
pkgname=par2cmdline
|
2015-12-04 03:13:59 +08:00
|
|
|
pkgver=0.6.14
|
2014-01-27 01:19:46 +08:00
|
|
|
pkgrel=1
|
2014-06-06 16:28:05 +08:00
|
|
|
arch=('x86_64')
|
2014-01-27 01:19:46 +08:00
|
|
|
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")
|
2015-12-04 03:13:59 +08:00
|
|
|
sha256sums=('2fd831ba924d9f0ecd9242ca45551b6995ede1ed281af79aa30e7490d5596e7a')
|
2014-01-27 01:19:46 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|