Skip to content

Instantly share code, notes, and snippets.

@hcartiaux
Last active May 7, 2025 07:14
Show Gist options
  • Select an option

  • Save hcartiaux/c97424cbdcf11a19c8c270b6929f941c to your computer and use it in GitHub Desktop.

Select an option

Save hcartiaux/c97424cbdcf11a19c8c270b6929f941c 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/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
}
@harmathy
Copy link

harmathy commented May 7, 2025

The source line should be:

source=($url/archive/v$pkgver.tar.gz)

@hcartiaux
Copy link
Author

The source line should be:

source=($url/archive/v$pkgver.tar.gz)

Indeed, fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment