blob: e8fed11a260e9f7adf9d8f72db21ee5f2a80c25d (
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
27
28
29
30
31
32
33
34
|
# Maintainer: Przemyslaw Pawelczyk <przemoc@zoho.com>
pkgname=rhash
pkgver=1.3.5
pkgrel=1
pkgdesc="Utility for calculation and verification of hash sums and magnet links"
url="http://rhash.anz.ru/"
arch="all"
license="custom"
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.gz"
builddir="$srcdir/RHash-$pkgver"
build() {
cd "$builddir"
make build-shared
make -C librhash
}
check() {
cd "$builddir"
make test-shared
}
package() {
cd "$builddir"
# binaries
make PREFIX=/usr DESTDIR="$pkgdir" install-shared
# library
make -C librhash PREFIX=/usr DESTDIR="$pkgdir" install-headers install-lib-shared install-so-link
}
sha512sums="e8450aab0c16bfb975bf4aeee218740fb4d86d5514e426b70c3edb84e4d63865cd4051939aa95c24a87a78baaedc49e40bb509b2610e89ca3745930808b3ef6c rhash-1.3.5.tar.gz"
|