summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12020-02-28 04:22:35 +0800
committerChocobo12020-02-28 04:22:35 +0800
commit485cb1d2e58f593bfd0b06ad775ec34130e0acd4 (patch)
tree3f2c3d8ce02a436513065e644d87ae4c0eef4a9b
downloadaur-socat-git.tar.gz
newpkg: socat-git 1.7.3.3.r9.g82cf4ae-1
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD43
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..816cd2fe89c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = socat-git
+ pkgdesc = Multipurpose relay
+ pkgver = 1.7.3.3.r9.g82cf4ae
+ pkgrel = 1
+ url = http://www.dest-unreach.org/socat/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ makedepends = yodl
+ depends = glibc
+ depends = openssl
+ depends = readline
+ provides = socat
+ conflicts = socat
+ source = git+https://repo.or.cz/socat.git
+ sha256sums = SKIP
+
+pkgname = socat-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ea4846f54c5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=socat-git
+pkgver=1.7.3.3.r9.g82cf4ae
+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')
+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
+}