summaryrefslogtreecommitdiff
path: root/community/cksfv/PKGBUILD
blob: 3eed8b975c6690326e7e1888de3d81022e980752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 86750 2013-03-21 21:05:54Z eric $
# Maintainer: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Wijnand Modderman <wijanand+aur@archlinux.nl>

pkgname=cksfv
pkgver=1.3.14
pkgrel=2
pkgdesc="SFV (Simple File Verification) Checker"
arch=('i686' 'x86_64')
url="http://zakalwe.fi/~shd/foss/cksfv"
license=('GPL')
depends=('glibc')
source=(http://zakalwe.fi/~shd/foss/cksfv/files/$pkgname-$pkgver.tar.gz)
md5sums=('2e15289753ea0b90b6ea86993f93b383')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make BINDIR="$pkgdir/usr/bin" MANDIR="$pkgdir/usr/share/man" install
  chmod 644 "$pkgdir/usr/share/man/man1/$pkgname.1"
}