summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 33343ccb6d732b404e907bf8e662bd7070c9c8c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Leo Verto <leotheverto+aur@gmail.com>
pkgname=netmask
pkgver=2.4
pkgrel=3
pkgdesc="The swiss army knife of addressing."
arch=('x86_64')
url="http://trap.mtview.ca.us/~talby/"
license=('GPL2')
makedepends=()
source=(http://trap.mtview.ca.us/~talby/$pkgname\_$pkgver.tar.gz)
sha256sums=('316b1169614303a692074d5a7e59c3e4e208bbec1cb961c47b13018b9008d34e')

build() {
  cd "$pkgname-$pkgver"

  ./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man
  make
}

check() {
  cd "$pkgname-$pkgver"

  make -k check
}

package() {
  cd "$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}