blob: 086f5fc4273f2e90b3224a344c7506574255c4c0 (
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
|
# $Id: PKGBUILD 149054 2012-02-05 15:38:18Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=tsocks
pkgver=1.8beta5
pkgrel=5
pkgdesc='Transparent SOCKS proxying library'
url='http://tsocks.sourceforge.net/'
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('489f88c5df999ba21b27cdaa7836d9426d062aec')
build() {
cd "${srcdir}/${pkgname}-1.8"
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --libdir=/usr/lib \
--build=$CHOST --host=$CHOST
make
}
package() {
cd "${srcdir}/${pkgname}-1.8"
make DESTDIR="${pkgdir}" install
install -d "${pkgdir}"/etc
install -m644 tsocks.conf.{simple,complex}.example "${pkgdir}"/etc
}
|