Index: b/PKGBUILD =================================================================== --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgname=dnscrypt-proxy pkgver=1.6.1 -pkgrel=1 +pkgrel=2 pkgdesc="A tool for securing communications between a client and a DNS resolver" arch=('i686' 'x86_64') url="http://dnscrypt.org/" @@ -13,21 +13,24 @@ depends=('libsodium' 'systemd') install=dnscrypt-proxy.install source=("http://download.dnscrypt.org/$pkgname/$pkgname-$pkgver.tar.gz" - 'Remove-network.target-dependency-from-dnscrypt-proxy.patch') + 'Remove-network.target-dependency-from-dnscrypt-proxy.patch' + 'dnscrypt-userstart.diff') sha512sums=('8d49be73e4b2fe1131349846191f54c7f212ff301a6a6c2a77505225f81b0615e968c945013e732c4fce3b6090606245ec7343fb0d6145bb10b67dd4112d2367' - 'a3fd405cc635ec3b8564fbfc769504eeaf77b693fa521df44be7beb1d5abea971b81905a11357870a6fb5ba8d129c91bf9cc337cb730b733c3d3c047854a4021') + 'a3fd405cc635ec3b8564fbfc769504eeaf77b693fa521df44be7beb1d5abea971b81905a11357870a6fb5ba8d129c91bf9cc337cb730b733c3d3c047854a4021' + '9bdc41af2aa3c6e3f9911bbbf309897295d8b667299f370aaecde96eb92b2b03c3f84135a241d04401b5fbb392675e8511b0db22f670c59809cedc80ed57e82f') prepare() { cd $pkgname-$pkgver sed -i 's|/usr/local/sbin|/usr/bin|' dnscrypt-proxy.service + patch -p1 < $srcdir/dnscrypt-userstart.diff } build() { cd $pkgname-$pkgver ./configure --prefix=/usr --sbindir=/usr/bin --with-systemd - make -j2 + make } package() {