updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / par2cmdline / PKGBUILD
blobdb333fdbf551ca2623e5f14cc34822cdb72c93bf
1 # Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
2 pkgname=par2cmdline
3 pkgver=0.5.3
4 pkgrel=2
5 pkgdesc="A file verification and repair tool"
6 url="https://github.com/BlackIkeEagle/par2cmdline"
7 license="GPL"
8 depends=('gcc-libs')
9 arch=('i686' 'x86_64')
10 source=("https://github.com/downloads/BlackIkeEagle/par2cmdline/${pkgname}-${pkgver}.tar.xz")
11 sha256sums=('4218e8188803f0e8c877c28536c58bf671dc62acd8c93dab4a3c8cd3d4fb61e3')
13 build() {
14         cd ${pkgname}-${pkgver}
15         # automake
16         aclocal
17         automake --add-missing
18         autoconf
19         # configure
20         ./configure --prefix=/usr
21         # make
22         make
25 check() {
26         cd ${pkgname}-${pkgver}
27         make check
30 package() {
31         cd ${pkgname}-${pkgver}
32         make DESTDIR=$startdir/pkg install