archrelease: copy trunk to community-any
[ArchLinux/community.git] / diffstat / repos / community-x86_64 / PKGBUILD
blob14145853d1dafc24ab626ac5253452905bcdfcb6
1 # Maintainer: Alad Wenter <alad@mailbox.org>
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
3 # Contributor: Matthias-Christian Ott <matthias.christian.at.tiscali.de>
5 pkgname=diffstat
6 pkgver=1.65
7 pkgrel=1
8 pkgdesc="Display a histogram of diff changes"
9 arch=('x86_64')
10 url="https://invisible-island.net/diffstat"
11 depends=('glibc')
12 license=('MIT')
13 source=("https://invisible-island.net/archives/$pkgname/$pkgname-$pkgver.tgz"
14         "https://invisible-island.net/archives/$pkgname/$pkgname-$pkgver.tgz.asc")
15 sha256sums=('8cf27424926debcd85921755c3915559288244bd103f62d740dc6b83b557a28a'
16             'SKIP')
17 validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas Dickey <dickey@invisible-island.net>"
19 build () {
20   cd "$pkgname-$pkgver"
22   ./configure --prefix=/usr \
23               --mandir=/usr/share/man
24   make
27 package() {
28   cd "$pkgname-$pkgver"
30   make DESTDIR="$pkgdir/" install
31   install -Dm644 package/debian/copyright "$pkgdir/usr/share/licenses/$pkgname/LICENSE"