mirror of
https://github.com/moparisthebest/arch-ppa
synced 2025-02-16 07:00:15 -05:00
build dnscrypt-proxy gfw branch
This commit is contained in:
parent
02e5997ec3
commit
8640617bc2
@ -5,30 +5,31 @@
|
|||||||
|
|
||||||
pkgname=dnscrypt-proxy
|
pkgname=dnscrypt-proxy
|
||||||
pkgver=1.7.0
|
pkgver=1.7.0
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="A tool for securing communications between a client and a DNS resolver"
|
pkgdesc="A tool for securing communications between a client and a DNS resolver"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://dnscrypt.org/"
|
url="http://dnscrypt.org/"
|
||||||
license=('custom:ISC')
|
license=('custom:ISC')
|
||||||
depends=('libsodium' 'systemd')
|
depends=('libsodium' 'systemd')
|
||||||
source=("https://github.com/jedisct1/dnscrypt-proxy.git")
|
source=("git+https://github.com/jedisct1/dnscrypt-proxy#branch=gfw")
|
||||||
sha512sums=('SKIP')
|
sha512sums=('SKIP')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname
|
||||||
|
|
||||||
sed -i 's|/usr/local/sbin|/usr/bin|' dnscrypt-proxy.service
|
sed -i 's|/usr/local/sbin|/usr/bin|' dnscrypt-proxy.service
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname
|
||||||
|
|
||||||
|
./autogen.sh
|
||||||
./configure --prefix=/usr --sbindir=/usr/bin --with-systemd
|
./configure --prefix=/usr --sbindir=/usr/bin --with-systemd
|
||||||
make -j2
|
make -j2
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
|
|
||||||
mkdir -p "$pkgdir"/{usr/share/{licenses,doc}/$pkgname,usr/lib/systemd/system}
|
mkdir -p "$pkgdir"/{usr/share/{licenses,doc}/$pkgname,usr/lib/systemd/system}
|
||||||
|
Loading…
Reference in New Issue
Block a user