blob: d59ba45cf13f7156901ed322a48303f2ff0d872c (
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
|
# Maintainer:
pkgname=local-dns
pkgver=0.2
pkgrel=2
pkgdesc="With this package the user is able to define a wrapper around DNS resolution with which one can define some fake DNS addresses that will be mapped to a specific device on a local network identified by a mac address."
arch=(x86_64)
url="https://github.com/Student-Team-Projects/Local-DNS.git"
license=('GPL')
makedepends=('git' 'make' 'gcc>=10' 'autoconf')
source=("git+$url")
md5sums=('SKIP')
build() {
cd "Local-DNS"
git submodule init
git submodule update
sudo make libcrafter
sudo make main
}
package() {
cd "Local-DNS"
sudo make DESTDIR="$pkgdir" install
}
|