# $Id: PKGBUILD 139087 2015-09-02 03:41:15Z fyan $
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
# Contributor: Aurélien Chabot <contact@aurelienchabot.fr>
# Contributor: Étienne Deparis <etienne@depar.is>

pkgname=progress
pkgdesc="Shows running coreutils basic commands and displays stats"
pkgver=0.9
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL3')
url="https://github.com/Xfennec/progress"
depends=('ncurses')
makedepends=('git')
replaces=('cv')
source=("git+https://github.com/Xfennec/progress.git#tag=v$pkgver")
sha256sums=('SKIP')

build() {
  cd "$srcdir/$pkgname"
  make
}

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