mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:57:13 +08:00
29 lines
779 B
Bash
29 lines
779 B
Bash
#
|
|
# 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
|
|
}
|