summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38c848388b18a6fc0c5a79cd2759919a7920cdf8 (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
# Maintainer: Archimede Pitagorico <archimede.pitagorico@mail.com>

pkgname=revinetd
pkgver=v1.0.2.0.gf81f000
pkgrel=1
pkgdesc="revinetd, tcp reverse tunnel (TCP change of gender)"
arch=('x86_64')
url='http://revinetd.sourceforge.net'
license=('GPLv2')
source=('git+https://github.com/archimedepitagorico/revinetd.git#tag=v1.0.2'
        )
#install=$pkgname.install

makedepends=('git'
             )
sha1sums=('SKIP'
	)
options=('!buildflags'
        )

pkgver() {
  cd revinetd
  echo "$(git describe --long --tags | tr - . | tr _ .)"
}

prepare() {
  cd revinetd
  ./configure
}

build() {
    cd revinetd
    make
}

package() {
   cd revinetd
   mkdir -p ${pkgdir}/usr/bin
   cp revinetd ${pkgdir}/usr/bin/revinetd
}