blob: a6bd7e0f61e105d13fb2e8fd8144cb65cefc7d08 (
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
|
# Maintainer: Tilman Blumenbach <tilman@ax86.net>
pkgname=tsocks-tools
pkgver='1.8beta5'
pkgrel=4
pkgdesc='Misc. tools from the tsocks package'
arch=('i686' 'x86_64')
url="http://tsocks.sf.net"
license=('GPL')
depends=('glibc')
source=("https://downloads.sf.net/tsocks/tsocks-${pkgver}.tar.gz"
prognames.patch)
prepare() {
cd "${srcdir}/tsocks-1.8"
patch -Np 1 -i "${srcdir}/prognames.patch" || return 1
}
build() {
cd "${srcdir}/tsocks-1.8"
autoreconf
./configure
make inspectsocks saveme validateconf || return 1
}
package() {
cd "${srcdir}/tsocks-1.8"
install -D saveme "${pkgdir}/usr/bin/tsocks-saveme"
install validateconf "${pkgdir}/usr/bin/tsocks-validateconf"
install inspectsocks "${pkgdir}/usr/bin"
}
sha256sums=('849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347'
'7d3898529d99ca59d06e44f486e56921532443a8daf0f3da4e4aad63b9a46dcb')
|