summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 955102c0df0561149f83a7771425324ea0068b5b (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
# Maintainer: nafets227 <nafets227@users.noreply.github.com>
# Contributor: luelistan <archlinux-aur-git@max-weller.de>

pkgname=dhtest
pkgver=2c6a9c3ef96e570b213fb9592bed1aae28c9d7cd
pkgrel=1
pkgdesc="A DHCP client simulation on linux"
arch=("x86_64")
depends=("glibc")
url="https://github.com/saravana815/dhtest"
license=('GPL2')

source=("https://github.com/saravana815/dhtest/archive/${pkgver}.tar.gz")
sha256sums=("39d30b14333cb8bb7b5b74eafaef6dab5c56cf69bddb81c76be3f69f50ca4a8b")

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  mkdir -p $pkgdir/usr/bin
  install dhtest $pkgdir/usr/bin/dhtest
}