1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-22 00:32:15 -05:00

Deleted dnscrypt-proxy

This commit is contained in:
Travis Burtrum 2016-11-12 00:13:43 -05:00
parent 8640617bc2
commit 49763e0f6b

View File

@ -1,40 +0,0 @@
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Techlive Zheng <techlivezheng at gmail dot com>
# Contributor: peace4all <markspost at rocketmail dot com>
pkgname=dnscrypt-proxy
pkgver=1.7.0
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=("git+https://github.com/jedisct1/dnscrypt-proxy#branch=gfw")
sha512sums=('SKIP')
prepare() {
cd $pkgname
sed -i 's|/usr/local/sbin|/usr/bin|' dnscrypt-proxy.service
}
build() {
cd $pkgname
./autogen.sh
./configure --prefix=/usr --sbindir=/usr/bin --with-systemd
make -j2
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/{usr/share/{licenses,doc}/$pkgname,usr/lib/systemd/system}
install -m 644 COPYING "$pkgdir"/usr/share/licenses/$pkgname
install -m 644 AUTHORS NEWS README README.markdown "$pkgdir"/usr/share/doc/$pkgname
install -m 644 dnscrypt-proxy.service "$pkgdir"/usr/lib/systemd/system
install -m 644 dnscrypt-proxy.socket "$pkgdir"/usr/lib/systemd/system
}