# Contributor: Leszek CimaƂa # Maintainer: setglobal pkgname = 'diffstat' setglobal pkgver = '1.61' setglobal pkgrel = '0' setglobal pkgdesc = '"diffstat reads the output of diff and displays a histogram of the insertions, deletions, and modifications per-file.'" setglobal url = '"http://invisible-island.net/diffstat'" setglobal arch = '"all'" setglobal license = '"MIT'" setglobal depends = ''"" setglobal depends_dev = ''"" setglobal makedepends = $depends_dev setglobal install = ''"" setglobal subpackages = ""$pkgname-doc"" setglobal source = ""ftp://invisible-island.net/$(pkgname)/$(pkgname)-$(pkgver).tgz"" setglobal _builddir = ""$srcdir/$pkgname-$pkgver"" proc build { cd $_builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 } setglobal md5sums = '"c048a32d55d8bd6724f382baf41f325f diffstat-1.61.tgz'" setglobal sha256sums = '"25359e0c27183f997b36c9202583b5dc2df390c20e22a92606af4bf7856a55ee diffstat-1.61.tgz'" setglobal sha512sums = '"48166e1241904b955c0f5543b1f11724a1a91516fcba5ad0603441d985728de3e0fca5f5212704dd0fc9a9e5062788b1b34062869137fd851932233d4abad114 diffstat-1.61.tgz'"