blob: 2f738991c06bb57adf20a3db6023fbe531b806a3 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Contributor: Matt Dainty <matt+alpine@bodgit-n-scarper.com>
# Maintainer:
pkgname=corkscrew
pkgver=2.0
pkgrel=1
_commit=a94f745b40077172b8fe7d77e2d583b9cf900281
pkgdesc="Tool for tunneling SSH through HTTP proxies"
url="https://github.com/bryanpkc/corkscrew/"
arch="all"
license="GPL"
depends=""
makedepends="autoconf automake"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/bryanpkc/corkscrew/archive/$_commit.tar.gz
corkscrew-2.0-from-debian-readme.patch
corkscrew-2.0-typo.patch
corkscrew.1
"
_builddir="$srcdir"/$pkgname-$_commit
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
aclocal && autoheader && autoconf && automake --add-missing --force || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -m644 -D "$srcdir"/corkscrew.1 \
"$pkgdir"/usr/share/man/man1/corkscrew.1 || return 1
}
sha512sums="3023df4a366d08d131fe3c73c4841c4aed3b257c6deb64c4db2f0f6e210483d7c563937468f8c9e5da8441305951ffccb5bc05da6da24bc0463f1806ad7e6abe corkscrew-2.0.tar.gz
2514663f2f120c49b7c0d40246ca5fae49f9c27097c17c38992085bc9f4ae3e2f1a749ceaf400b10b4b68c809365a420865fab90fead585949ad440a19f02aeb corkscrew-2.0-from-debian-readme.patch
197dd0d3de4a026603af8ea4bf8cdf1d25b7555166b817697474961020491b4f181c67e431f340791f22768c28b40262819780c77055ec3d066c60c19f57ac2e corkscrew-2.0-typo.patch
a59c99056ef4c12dec854ab0b571b9778b78c3d429193c1365ef2c1a37edb478e8d7e7948e830b22dfe3fb724e6be0b6176ac541da1fa5a2678a608f2b025e90 corkscrew.1"
|