34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Maintainer: T.J. Townsend <blakkheim@archlinux.org>
|
|
# Contributor: Alad Wenter <alad@mailbox.org>
|
|
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
|
# Contributor: Matthias-Christian Ott <matthias.christian.at.tiscali.de>
|
|
|
|
pkgname=diffstat
|
|
pkgver=1.67
|
|
pkgrel=2
|
|
pkgdesc="Display a histogram of diff changes"
|
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
|
url="https://invisible-island.net/diffstat"
|
|
depends=('glibc')
|
|
makedepends=('git')
|
|
license=('MIT')
|
|
source=(${pkgname}::git+https://github.com/ThomasDickey/diffstat-snapshots.git?signed#tag=v${pkgver//./_})
|
|
sha256sums=('36d0940912b81cf9d308edea64c196d55aa2425c16970b1e8c7cdbf297ac1cd4')
|
|
validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas Dickey <dickey@invisible-island.net>"
|
|
|
|
build () {
|
|
cd ${pkgname}
|
|
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/share/man
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}
|
|
|
|
make DESTDIR="${pkgdir}/" install
|
|
install -Dm644 package/debian/copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|