PKGBUILD 854 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
  2. _pkgname=httpconnectd
  3. pkgname=$_pkgname-git
  4. pkgver=20161004
  5. _gitver='commit=0a9c98e499211e6c291c4188720852bd3823584c'
  6. pkgdesc="An HTTP server that only implements the CONNECT method"
  7. url="https://lukeshu.com/git/httpconnectd/"
  8. license=('WTFPL2')
  9. backup=('etc/httpconnectd/https.conf')
  10. provides=($_pkgname)
  11. conflicts=($_pkgname)
  12. pkgrel=1
  13. arch=('any')
  14. depends=('socat')
  15. source=("https://repo.parabola.nu/other/~lukeshu/$_pkgname/$pkgname-$pkgver.tar.gz")
  16. md5sums=('19f0136e2c05e043b5b0b35c15aaf7d9')
  17. mkdepends=('git')
  18. mksource=("$pkgname-$pkgver::git://lukeshu.com/$_pkgname.git#$_gitver")
  19. mkmd5sums=('SKIP')
  20. build() {
  21. cd "$srcdir/$pkgname-$pkgver"
  22. make sysconfdir=/etc prefix=/usr
  23. }
  24. package() {
  25. cd "$srcdir/$pkgname-$pkgver"
  26. make install sysconfdir=/etc prefix=/usr DESTDIR="$pkgdir"
  27. }