1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-21 16:25:00 -05:00

build dnscrypt-proxy gfw branch

This commit is contained in:
Travis Burtrum 2016-11-12 00:13:18 -05:00
parent 02e5997ec3
commit 8640617bc2

View File

@ -5,30 +5,31 @@
pkgname=dnscrypt-proxy
pkgver=1.7.0
pkgrel=2
pkgrel=3
pkgdesc="A tool for securing communications between a client and a DNS resolver"
arch=('i686' 'x86_64')
url="http://dnscrypt.org/"
license=('custom:ISC')
depends=('libsodium' 'systemd')
source=("https://github.com/jedisct1/dnscrypt-proxy.git")
source=("git+https://github.com/jedisct1/dnscrypt-proxy#branch=gfw")
sha512sums=('SKIP')
prepare() {
cd $pkgname-$pkgver
cd $pkgname
sed -i 's|/usr/local/sbin|/usr/bin|' dnscrypt-proxy.service
}
build() {
cd $pkgname-$pkgver
cd $pkgname
./autogen.sh
./configure --prefix=/usr --sbindir=/usr/bin --with-systemd
make -j2
}
package() {
cd $pkgname-$pkgver
cd $pkgname
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/{usr/share/{licenses,doc}/$pkgname,usr/lib/systemd/system}