mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
27 lines
659 B
Bash
27 lines
659 B
Bash
#maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=diffstat
|
|
pkgver=1.61
|
|
pkgrel=1
|
|
pkgdesc="Display a histogram of diff changes"
|
|
arch=('x86_64')
|
|
url="http://invisible-island.net/diffstat"
|
|
depends=('glibc')
|
|
license=('GPL')
|
|
source=(ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz)
|
|
md5sums=('c048a32d55d8bd6724f382baf41f325f')
|
|
|
|
build () {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/share/man
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR=${pkgdir}/ install
|
|
install -Dm644 package/debian/copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|