mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 11:44:37 +08:00
28 lines
694 B
Bash
28 lines
694 B
Bash
|
# Arch contributor: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/torsocks
|
||
|
# Maintainer: Bruce Liu <brli@users.sourceforge.net>
|
||
|
pkgname=torsocks
|
||
|
pkgver=2.0.0
|
||
|
pkgrel=1
|
||
|
pkgdesc='Wrapper to safely torify applications'
|
||
|
arch=('i686' 'x86_64')
|
||
|
url='http://code.google.com/p/torsocks'
|
||
|
license=('GPL2')
|
||
|
depends=('tor')
|
||
|
makedepends=('git')
|
||
|
backup=("etc/tor/${pkgname}.conf")
|
||
|
source=("git+https://git.torproject.org/torsocks.git#tag=v$pkgver")
|
||
|
md5sums=('SKIP')
|
||
|
|
||
|
build() {
|
||
|
cd $pkgname
|
||
|
./autogen.sh
|
||
|
./configure --prefix=/usr --sysconfdir=/etc
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $pkgname
|
||
|
make DESTDIR="$pkgdir/" install
|
||
|
find "$pkgdir/usr/share" -maxdepth 1 -type f -delete
|
||
|
}
|