diff options
Diffstat (limited to 'unmaintained/cv/APKBUILD')
-rw-r--r-- | unmaintained/cv/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/cv/APKBUILD b/unmaintained/cv/APKBUILD new file mode 100644 index 0000000000..c0fd220910 --- /dev/null +++ b/unmaintained/cv/APKBUILD @@ -0,0 +1,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" |