summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD15
2 files changed, 13 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ab70376c8eb..edd1b826149 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = tsocks-tools
pkgdesc = Misc. tools from the tsocks package
pkgver = 1.8beta5
- pkgrel = 2
+ pkgrel = 3
url = http://tsocks.sf.net
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index a45deaaad2a..c2043af58e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Tilman Blumenbach <tilman@ax86.net>
pkgname=tsocks-tools
pkgver='1.8beta5'
-pkgrel=2
+pkgrel=3
pkgdesc='Misc. tools from the tsocks package'
arch=('i686' 'x86_64')
url="http://tsocks.sf.net"
@@ -10,13 +10,22 @@ depends=('glibc')
source=("http://downloads.sf.net/tsocks/tsocks-${pkgver}.tar.gz"
prognames.patch)
-build()
-{
+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"