[arch-commits] Commit in io/repos (3 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 19 21:11:22 UTC 2020


    Date: Thursday, November 19, 2020 @ 21:11:21
  Author: felixonmars
Revision: 757808

archrelease: copy trunk to community-staging-x86_64

Added:
  io/repos/community-staging-x86_64/
  io/repos/community-staging-x86_64/PKGBUILD
    (from rev 757807, io/trunk/PKGBUILD)
  io/repos/community-staging-x86_64/build.patch
    (from rev 757807, io/trunk/build.patch)

-------------+
 PKGBUILD    |   37 +++++++++++++++++++++++++++++++++++++
 build.patch |   12 ++++++++++++
 2 files changed, 49 insertions(+)

Copied: io/repos/community-staging-x86_64/PKGBUILD (from rev 757807, io/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-19 21:11:21 UTC (rev 757808)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Gergely Imreh <imrehg at gmail.com>
+
+pkgname=io
+pkgver=2017.06.08
+pkgrel=8
+pkgdesc='IO programming language'
+arch=('x86_64')
+url='http://iolanguage.com/'
+license=('BSD')
+depends=('pcre' 'libsndfile' 'libxmu' 'freetype2' 'libedit' 'libxml2' 'libtiff' 'libevent' 'yajl' 'mariadb-libs' 'lzo' 'libpng' 'util-linux' 'freeglut' 'libjpeg-turbo' 'libtheora' 'python')
+makedepends=('cmake' 'git')
+options=('!makeflags' '!buildflags')
+source=("git+https://github.com/stevedekorte/io#commit=5fffec7cbe9679632ff793befacedd92f79d7f0f" build.patch)
+sha256sums=('SKIP'
+            '67649900fba515520c934dcb24c4da475c11c84a7e83171418c742988304b80e')
+
+prepare() {
+  sed -i "s:20151111:${pkgver//./}:" io/libs/iovm/source/IoVersion.h
+
+  cd io
+  patch -Np1 -i ${srcdir}/build.patch
+}
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../io -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package() {
+  DESTDIR="$pkgdir" make -C build install
+  install -Dm644 io/license/bsd_license.txt \
+    "$pkgdir/usr/share/licenses/$pkgname/bsd_license.txt"
+}
+
+# vim: ts=2 sw=2 et:

Copied: io/repos/community-staging-x86_64/build.patch (from rev 757807, io/trunk/build.patch)
===================================================================
--- community-staging-x86_64/build.patch	                        (rev 0)
+++ community-staging-x86_64/build.patch	2020-11-19 21:11:21 UTC (rev 757808)
@@ -0,0 +1,12 @@
+diff -aur io.new/libs/iovm/source/IoSystem.c io/libs/iovm/source/IoSystem.c
+--- io.new/libs/iovm/source/IoSystem.c	2020-11-19 21:41:26.624107265 +0100
++++ io/libs/iovm/source/IoSystem.c	2020-11-19 21:43:30.418113032 +0100
+@@ -23,7 +23,7 @@
+ # include <sys/param.h>
+ #endif
+ #ifndef __CYGWIN__
+-# include <sys/sysctl.h>
++# include <linux/sysctl.h>
+ #endif
+ #endif
+ 



More information about the arch-commits mailing list