summaryrefslogtreecommitdiff
path: root/~lukeshu
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-28 20:18:57 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-28 20:21:11 -0500
commit28475aa943148c605af8af10a1bb10dad7f64e8c (patch)
treecc9173ff8e606da1cce2ece97dee97210a02df83 /~lukeshu
parent4e973635afd5256564c2fb6ce6e6a6adffc91b82 (diff)
add ~lukeshu/httpconnectd-git
Diffstat (limited to '~lukeshu')
-rw-r--r--~lukeshu/httpconnectd-git/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/~lukeshu/httpconnectd-git/PKGBUILD b/~lukeshu/httpconnectd-git/PKGBUILD
new file mode 100644
index 000000000..fe95afb1f
--- /dev/null
+++ b/~lukeshu/httpconnectd-git/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+_pkgname=httpconnectd
+pkgname=$_pkgname-git
+
+pkgver=20161004
+_gitver='commit=0a9c98e499211e6c291c4188720852bd3823584c'
+pkgdesc="An HTTP server that only implements the CONNECT method"
+url="https://lukeshu.com/git/httpconnectd/"
+license=('WTFPL2')
+backup=('etc/httpconnectd/https.conf')
+
+provides=($_pkgname)
+conflicts=($_pkgname)
+
+pkgrel=1
+arch=('any')
+
+depends=('socat')
+
+source=("https://repo.parabola.nu/other/~lukeshu/$_pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('19f0136e2c05e043b5b0b35c15aaf7d9')
+
+mkdepends=('git')
+mksource=("$pkgname-$pkgver::git://lukeshu.com/$_pkgname.git#$_gitver")
+mkmd5sums=('SKIP')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make sysconfdir=/etc prefix=/usr
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make install sysconfdir=/etc prefix=/usr DESTDIR="$pkgdir"
+}