Skip to content

Instantly share code, notes, and snippets.

@bilal68
Forked from hcartiaux/PKGBUILD
Created May 6, 2025 09:17
Show Gist options
  • Save bilal68/065ef8f5625da77f26093e6b391a304b to your computer and use it in GitHub Desktop.
Save bilal68/065ef8f5625da77f26093e6b391a304b to your computer and use it in GitHub Desktop.
netcalc PKGBUILD updated
# Maintainer: hcra <hcra at u53r dot space>
# Contributor: Hyacinthe Cartiaux <hyacinthe dot cartiaux at free dot fr>
pkgname=netcalc
pkgver=2.1.7
pkgrel=1
pkgdesc="IP network calculator - Simplified clone of sipcalc with ipcalc looks."
arch=('x86_64')
url="https://github.com/troglobit/netcalc"
license=('BSD-3-Clause')
source=($url/$pkgname/archive/v$pkgver.tar.gz)
sha256sums=('57e40571cea9061f4c42fe500345d6715e9b35fdaa135ef23c42c6ca4a58e3ef')
conflicts=(ipcalc)
build() {
cd "$srcdir/$pkgname-$pkgver"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install-strip
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment