Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
873 B

5 years ago
  1. # Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
  2. # Contributor: K. Piche <kpiche@rogers.com>
  3. pkgname=ipcalc
  4. pkgver=0.41
  5. pkgrel=6
  6. pkgdesc="Calculates IP broadcast, network, Cisco wildcard mask, and host ranges"
  7. arch=('any')
  8. url="http://jodies.de/ipcalc"
  9. license=('GPL')
  10. depends=('perl')
  11. source=(
  12. "https://jodies.de/ipcalc-archive/${pkgname}-${pkgver}.tar.gz"
  13. "patch_colors.patch"
  14. )
  15. sha512sums=('089eb2b9a38b07caa182ff11547a93d86aed570311fc8cd9e636c7546ab4d15acc854b9d79bbba9c797dcfbbedd1d6f4d521aec97bf613905fe5198a29c9889d'
  16. 'd6ff83fdc7c512ed80ce08cc7dcba5a818b29c1bafb52cb60f38b00d4efdf7428b35835b9d4e42c19317e539ef32fea18f2dbcce211782a40c83828b27003fb9')
  17. prepare() {
  18. cd ${srcdir}/${pkgname}-${pkgver}
  19. patch -Np1 -i ../patch_colors.patch
  20. }
  21. package() {
  22. install -D -m755 ${srcdir}/${pkgname}-${pkgver}/ipcalc ${pkgdir}/usr/bin/ipcalc
  23. }