-
-
Save bilal68/065ef8f5625da77f26093e6b391a304b to your computer and use it in GitHub Desktop.
netcalc PKGBUILD updated
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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