summaryrefslogtreecommitdiff
path: root/~lukeshu/httpconnectd-git/PKGBUILD
blob: fe95afb1ffe7e35631966756d404e2fcf10fcc2b (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: 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"
}