blob: d762f78a725b06c1272744333779c82d47bb4d4c (
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
43
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=socat-git
pkgver=1.7.4.4.r0.ga8b2cb6
pkgrel=1
pkgdesc="Multipurpose relay"
arch=('i686' 'x86_64')
url="http://www.dest-unreach.org/socat/"
license=('GPL2')
depends=('glibc' 'openssl' 'readline')
makedepends=('git' 'yodl')
provides=("socat=$pkgver")
conflicts=('socat')
source=("git+https://repo.or.cz/socat.git")
sha256sums=('SKIP')
pkgver() {
cd "socat"
git describe --long --tags | sed 's/^tag-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "socat"
autoconf -f
./configure \
--prefix="/usr"
make
}
check() {
cd "socat"
#make test
}
package() {
cd "socat"
make DESTDIR="$pkgdir" install
}
|