updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / rhash / PKGBUILD
blobb3bd5394493aaa72af2da97ba84e86b4c017067c
1 # Maintainer: cantabile <cantabile dot desu at gmail dot com>
2 # Contributor: reMiND <detanator@gmail.com>
4 pkgname=rhash
5 pkgver=1.2.8
6 pkgrel=1
7 pkgdesc='Utility for verifying hash sums (SFV, CRC, etc). Supports lots of algorithms.'
8 arch=('i686' 'x86_64')
9 url='http://rhash.anz.ru/?l=en'
10 license=('custom')
11 depends=('glibc')
12 backup=('etc/rhashrc')
13 options=('!makeflags')
14 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.gz)
16 build() {
17    cd "$srcdir/$pkgname-$pkgver"
18    make
21 package() {
22    cd "$srcdir/$pkgname-$pkgver"
23    make PREFIX=/usr/ DESTDIR="$pkgdir" install
24    # Install license
25    install -D -m644 "$srcdir/$pkgname-$pkgver/COPYING" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
27 md5sums=('6b9db38cc322caa5cd0151abdc92a2b5')