mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:57:13 +08:00
adding diffstat
This commit is contained in:
parent
fbf490a2ed
commit
debfa8b0f5
28
diffstat/PKGBUILD
Normal file
28
diffstat/PKGBUILD
Normal file
@ -0,0 +1,28 @@
|
||||
#
|
||||
# Platform Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=diffstat
|
||||
pkgver=1.51
|
||||
pkgrel=1
|
||||
pkgdesc="Display a histogram of diff changes"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://invisible-island.net/diffstat"
|
||||
depends=('glibc')
|
||||
license=('GPL')
|
||||
source=(ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz)
|
||||
md5sums=('a7d3fd1ba2a9a6c9e2b32e867b5e8792')
|
||||
|
||||
build () {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/share/man
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir}/ install || return 1
|
||||
}
|
Loading…
Reference in New Issue
Block a user