aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rhash/APKBUILD
blob: 9d3c2f3ab75c855df9b3bb9088c55ffacadfe2d5 (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
# Maintainer: Przemyslaw Pawelczyk <przemoc@zoho.com>
pkgname=rhash
pkgver=1.3.4
pkgrel=0
pkgdesc="Utility for calculation and verification of hash sums and magnet links"
url="http://rhash.anz.ru/"
arch="all"
license="custom"
depends=
depends_dev=""
makedepends="$depends_dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	make \
		|| return 1
}

package() {
	cd "$builddir"
	make install \
	     DESTDIR="$pkgdir" \
	     PREFIX=/usr \
		|| return 1
}

md5sums="0b51010604659e9e99f6307b053ba13b  rhash-1.3.4.tar.gz"
sha256sums="406662c4703bd4cb1caae26f32700951a5e12adf39f141d3f40e0b461b1e9e49  rhash-1.3.4.tar.gz"
sha512sums="a78be309011798d5e55023eb93f898c10254a42270288fa5ec68ad446b5f3d001e8c6f893683e5171e3858c86d45ce2ce16eefde1173209e1925420c27a7ff7a  rhash-1.3.4.tar.gz"