summaryrefslogtreecommitdiff
path: root/community/dnscrypt-proxy/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dnscrypt-proxy/PKGBUILD')
-rw-r--r--community/dnscrypt-proxy/PKGBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/community/dnscrypt-proxy/PKGBUILD b/community/dnscrypt-proxy/PKGBUILD
index 8fc4d9fcc..be3e273d3 100644
--- a/community/dnscrypt-proxy/PKGBUILD
+++ b/community/dnscrypt-proxy/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 97435 2013-09-20 02:21:56Z fyan $
+# $Id: PKGBUILD 101137 2013-11-18 07:26:01Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Techlive Zheng <techlivezheng at gmail dot com>
# Contributor: peace4all <markspost at rocketmail dot com>
pkgname=dnscrypt-proxy
pkgver=1.3.3
-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/"
@@ -17,13 +17,13 @@ source=(http://download.dnscrypt.org/$pkgname/$pkgname-$pkgver.tar.bz2
backup=(etc/conf.d/dnscrypt-proxy)
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
CFLAGS="$CFLAGS -fPIC" ./configure --prefix=/usr --sbindir=/usr/bin
make -j2
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/{usr/share/{licenses,doc}/$pkgname,etc/conf.d,usr/lib/systemd/system}
@@ -31,9 +31,8 @@ package() {
install -m 644 AUTHORS NEWS README README.markdown "$pkgdir"/usr/share/doc/$pkgname
install -m 644 "$srcdir"/conf.d.file "$pkgdir"/etc/conf.d/$pkgname
install -m 644 "$srcdir"/dnscrypt-proxy.service "$pkgdir"/usr/lib/systemd/system
- rm -rf "$pkgdir"/usr/{lib/*.{l,}a,include}
}
sha512sums=('c8e9484485f060aa90a36ef097506b1042348c85b74d0e5bfdeefa8bf8f80e42ae79d4568f524bb6de0754b125ed4f4b39a177f6fdee9e4616e7d0c3641aec0b'
- '2271eab1baf1a7192a8daaa1b271c24a3a3fa498432ac99c2e4fb3c939590f09aab582427ae874fce7969ece365ccb7a2e946566e5a0c650d93c34d23b536b61'
- 'bfff47fc9a515a26d835e08dfeeffba07ff66b09fd887df6c961802c2f8d584f9cd05e83bdcd7ccc274215744e4a05a328aec96152dee70e2fdfe12e12b390d3')
+ '26e5ce3198c25ff25542dc399f2bb5467ac349dbc11c2ebd6d3ba978ffaef09607088d9401e62ba33c6f50b8b29a59f56fe97d964f55e63ee9d8ca23862c3e00'
+ '9a1072f83e83e55dcdd7b80d1943f60963fa240da8a50d7491cc219797c6b85b8d79d087c0f7bb9766a4d467dec58eaae2bef31b759652545ace65a6a8afb608')