|
|
- # Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
- # Contributor: K. Piche <kpiche@rogers.com>
-
- pkgname=ipcalc
- pkgver=0.41
- pkgrel=6
- pkgdesc="Calculates IP broadcast, network, Cisco wildcard mask, and host ranges"
- arch=('any')
- url="http://jodies.de/ipcalc"
- license=('GPL')
- depends=('perl')
- source=(
- "https://jodies.de/ipcalc-archive/${pkgname}-${pkgver}.tar.gz"
- "patch_colors.patch"
- )
- sha512sums=('089eb2b9a38b07caa182ff11547a93d86aed570311fc8cd9e636c7546ab4d15acc854b9d79bbba9c797dcfbbedd1d6f4d521aec97bf613905fe5198a29c9889d'
- 'd6ff83fdc7c512ed80ce08cc7dcba5a818b29c1bafb52cb60f38b00d4efdf7428b35835b9d4e42c19317e539ef32fea18f2dbcce211782a40c83828b27003fb9')
-
- prepare() {
- cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np1 -i ../patch_colors.patch
- }
-
- package() {
- install -D -m755 ${srcdir}/${pkgname}-${pkgver}/ipcalc ${pkgdir}/usr/bin/ipcalc
- }
|