aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/cv/APKBUILD
blob: c0fd220910d0b65d428e6dcf6d3106393f60d849 (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
35
36
37
38
39
40
# Contributor: z3bra <willy at mailoo dot org>
# Maintainer:
pkgname=cv
pkgver=0.5.1
pkgrel=0
pkgdesc="Linux tool to show progress for cp, rm, dd, ..."
url="https://github.com/Xfennec/cv"
arch="all"
license="GPL3"
depends="ncurses-dev"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=
source="http://github.com/Xfennec/$pkgname/archive/v$pkgver.tar.gz"

_builddir=$srcdir/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
        make
}

package() {
	cd "$_builddir"
        make PREFIX=/usr DESTDIR=$pkgdir install
}

md5sums="8ac0e1169428b23b46cf509cf30e8e5a  v0.5.1.tar.gz"
sha256sums="d390a26a8db78366be8dfee93819135a106610ba7e3f6d94515c84d5803195d4  v0.5.1.tar.gz"
sha512sums="af12176cbf2806a411fb9be9709e51f59c34888689f96a46d64ecac0fc93d892673268b2a25253e46ca0dcf711325d67b94ffbe4033dbc3cf733d1a15b712863  v0.5.1.tar.gz"