summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 335a395dc3b9e0d6cd805bf73f7cbd87c9c1f0b7 (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: Edward Pacman <micro <dot> fedora AT gmail DOT com>
pkgname=dnsproxy
pkgver=git+f03234a
pkgrel=1
pkgdesc="A simple DNS proxy server, runing on multiple platform"
arch=('any')
url="https://github.com/vietor/dnsproxy"
license=('GPL')
makedepends=('git'
            'make')
source=("git+https://github.com/vietor/dnsproxy.git")
md5sums=("SKIP")

prepare() {
    cd "$pkgname"
    git submodule init
    git submodule update
}

build() {
    cd "$pkgname"
    make
}

package() {
    cd "$pkgname"
    mkdir -p "$pkgdir/usr/bin"
    cp src/dnsproxy $pkgdir/usr/bin
}