blob: 16222bd3069ec3379411943b4c8c0b282958c353 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Christian Kampka <christian@kampka.net>
pkgname=torsocks
pkgver=2.2.0
pkgrel=1
pkgdesc="Wrapper to safely torify applications"
url="https://gitweb.torproject.org/torsocks.git"
arch="all"
license="GPL-2.0"
depends="tor"
makedepends="$depends_dev autoconf automake libtool"
subpackages="$pkgname-doc"
source="https://people.torproject.org/~dgoulet/${pkgname}/${pkgname}-${pkgver}.tar.xz"
builddir="${srcdir}/${pkgname}-${pkgver}"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="89eb1263bfb0079ca5cb7fcc3a6fa1ecde1327df9ea98de48babfff1f8947b1e9db8407ead747fef0190671e7fff502025dcfcd9b6cba97abbaf25b5a575c62a torsocks-2.2.0.tar.xz"
|