diff options
author | edward-p | 2018-08-27 17:50:20 +0800 |
---|---|---|
committer | edward-p | 2018-08-27 17:50:20 +0800 |
commit | 584a1a40605b477e06ed2e7338303266980741a4 (patch) | |
tree | 8f6875819e8d655e61fd461ab2c05773b24d2a7d /PKGBUILD | |
download | aur-584a1a40605b477e06ed2e7338303266980741a4.tar.gz |
init commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..335a395dc3b9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} + |