mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/io to 2017.09.06-3
This commit is contained in:
parent
d636065e88
commit
561ec0a749
1 changed files with 8 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
|
||||
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
|
||||
# Contributor: loqs
|
||||
# Contributor: Mark E.A.
|
||||
# Contributor: Gergely Imreh <imrehg@gmail.com>
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
pkgname=io
|
||||
pkgver=2017.09.06
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc='IO programming language'
|
||||
arch=(x86_64)
|
||||
url='https://iolanguage.com/'
|
||||
|
@ -18,14 +18,13 @@ makedepends=(cmake git)
|
|||
options=(!makeflags)
|
||||
source=("git+https://github.com/stevedekorte/io#commit=b8a18fc199758ed09cd2f199a9bc821f6821072a" # tag: 2017.09.06
|
||||
'noexec.patch::https://github.com/IoLanguage/io/commit/5b88e9769c1d4629e9a4a01c78b57c0d80c7a70c.patch')
|
||||
sha256sums=('SKIP'
|
||||
'4f322ddbb6427d8b3ddc9d34786b9676b3cec26c867040626b6246d03e9dad24')
|
||||
b2sums=('SKIP'
|
||||
'bf7bf212349a88d707ca99fff48dfc08b0b4fbdc91a64a090e53c388e161f210d42e1dff590c5cda022c0519f2469ad9be5d4788c226632ad3d516389782912d')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
sed -i 's,sys/sysctl.h,linux/sysctl.h,g' libs/iovm/source/IoSystem.c
|
||||
sed -ri "s,20[0-9]+,$pkgver," libs/iovm/source/IoVersion.h
|
||||
git submodule update --init
|
||||
cd $pkgname/libs/iovm/source
|
||||
sed -ri "s,20[0-9]+,$pkgver," IoVersion.h
|
||||
sed -i 's,sys/sysctl.h,linux/sysctl.h,g' IoSystem.c
|
||||
sed -i '/-msse2/d' CMakeLists.txt
|
||||
}
|
||||
|
||||
|
@ -36,6 +35,7 @@ build() {
|
|||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_SKIP_RPATH=1
|
||||
# ninja requires "-w dupbuild=warn" and/or -w "phonycycle=warn" and still gives an error
|
||||
make -C build
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue