Commit 6fe156fe authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] torsocks: update to 2.3.0

parent 9a9665d9
Pipeline #2349 skipped
# Arch contributor: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/torsocks
# Contributions from Arch:
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Daniel Micay <danielmicay@gmail.com>
# Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
# Contributor: Rorschach <r0rschach@lavabit.com>
pkgname=torsocks
pkgver=2.2.0
pkgver=2.3.0
pkgrel=1
pkgdesc='Wrapper to safely torify applications'
arch=('x86_64')
url='https://gitweb.torproject.org/torsocks.git/'
arch=('x86_64')
license=('GPL2')
makedepends=('git')
depends=('tor')
backup=("etc/tor/${pkgname}.conf")
source=("git+https://git.torproject.org/torsocks.git#tag=v$pkgver")
md5sums=('SKIP')
source=(https://people.torproject.org/~dgoulet/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.asc})
sha512sums=('4888caaffdcfebf3673e14f3491eae6aa84ca0a4a2a812ba7bdac2abb471307e89a3c5cffe7691fb6f190c7bd9ea455ee9a223d909a39152be8524f590be2031'
'SKIP')
validpgpkeys=('B74417EDDF22AC9F9E90F49142E86A2A11F48D36')
build() {
cd $pkgname
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc
cd ${pkgname}-${pkgver}
./configure \
--prefix=/usr \
--sysconfdir=/etc
make
}
check() {
cd $pkgname
make check
}
package() {
cd $pkgname
make DESTDIR="$pkgdir/" install
find "$pkgdir/usr/share" -maxdepth 1 -type f -delete
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment