blob: ca7efc4f03c5744cb97d10cad0bd9048731a6a64 (
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
41
42
|
# Maintainer: Archimede Pitagorico <archimede.pitagorico@mail.com>
pkgname=tgcd
pkgver=v1.1.1.0.g4222d3e
pkgrel=1
pkgdesc="tgcd, tcp gender change daemon (reverse tunnel)"
arch=('x86_64')
url='http://tgcd.sourceforge.net/#lbAD'
license=('GPLv2')
source=('git+https://github.com/archimedepitagorico/tgcd.git#tag=v1.1.1'
)
#install=$pkgname.install
makedepends=('git'
)
sha1sums=('SKIP'
)
options=('!buildflags'
)
pkgver() {
cd tgcd
echo "$(git describe --long --tags | tr - . | tr _ .)"
}
prepare() {
cd tgcd
./configure
}
build() {
cd tgcd
make
}
package() {
cd tgcd
make DESTDIR=${pkgdir} install
mv ${pkgdir}/usr/local/* ${pkgdir}/usr
rmdir ${pkgdir}/usr/local
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|