blob: f2ce9b83dbb7e5e4325c8f73a017a5f80227b6c1 (
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
|
# $Id: PKGBUILD 111127 2011-02-24 08:00:08Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=tsocks
pkgver=1.8beta5
pkgrel=4
pkgdesc='Transparent SOCKS proxying library'
arch=('i686' 'x86_64' 'mips64el')
url='http://tsocks.sourceforge.net/'
license=('GPL')
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
make
}
package() {
cd "${srcdir}/${pkgname}-1.8"
make DESTDIR="${pkgdir}" install
install -d "${pkgdir}"/etc
install -m644 tsocks.conf.{simple,complex}.example "${pkgdir}"/etc
}
|