tor-android/jni/pdnsd/PKGBUILD.in

25 lines
755 B
Bash
Raw Normal View History

# Package build script for Arch Linux,
# contributed by Alexander Drozdov.
pkgname=@PACKAGE@
pkgver=@VERSION@
pkgrel=@packagerelease@
pkgdesc="pdnsd is a proxy DNS server with permanent caching (the cache contents are written to hard disk on exit) that is designed to cope with unreachable or down DNS servers."
url="http://members.home.nl/p.a.rombouts/pdnsd.html"
license="GPLv3"
depends=()
makedepends=(glibc)
conflicts=()
replaces=()
backup=()
install=
source=(http://members.home.nl/p.a.rombouts/pdnsd/releases/$pkgname-$pkgver-$pkgrel.tar.gz)
md5sums=()
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --enable-ipv6 --sysconfdir=/etc --with-distribution=ArchLinux
make || return 1
make DESTDIR=$startdir/pkg install
}