summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 254009146013a5edb5ff45ba65c5b02c4c8c7f82 (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
# Maintainer: Reynaldo Gil <gilcu3@gmail.com>

pkgname=desproxy
pkgver=0.1.1
pkgrel=1
pkgdesc="TCP tunnel for HTTP proxies"
arch=('i686' 'x86_64')
url="https://github.com/gilcu3/desproxy/"
license=('GPL2')
depends=('glibc')
makedepends=('')
source=("git+https://github.com/gilcu3/desproxy/")
md5sums=('SKIP')
build() {
  cd "$pkgname"
  ./configure --prefix=/usr
  make

}

package() {
  cd "$pkgname"
  echo "$pkgdir"
  make DESTDIR="$pkgdir" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -Dm644 doc/manual-en.html "$pkgdir/usr/share/doc/$pkgname/manual.html"
  install -Dm644 doc/config-en.html "$pkgdir/usr/share/doc/$pkgname/config.html"
}