mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
28 lines
854 B
Bash
28 lines
854 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Henrik Nymann Jensen <h@henriknj.dk>
|
|
|
|
pkgname=pdnsd
|
|
pkgver=1.2.7
|
|
pkgrel=1
|
|
pkgdesc="Is a proxy DNS server with permanent caching"
|
|
arch=(i686 x86_64)
|
|
url="http://www.phys.uu.nl/~rombouts/pdnsd/"
|
|
license=('GPL')
|
|
depends=('glibc')
|
|
backup=('etc/pdnsd.conf')
|
|
source=(http://www.phys.uu.nl/~rombouts/pdnsd/releases/$pkgname-$pkgver-par.tar.gz pdnsd)
|
|
md5sums=('114b3b21b09b43cbfcccdde726b84c12'
|
|
'3670bd47c9303fbb655d9216715512de')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
|
|
mkdir -p $pkgdir/etc/rc.d && \
|
|
cp $srcdir/pdnsd $pkgdir/etc/rc.d/ && \
|
|
mkdir -p $pkgdir/usr/share/ && \
|
|
mv $pkgdir/usr/man $pkgdir/usr/share/
|
|
}
|