PKGBUILDs/community/io/PKGBUILD

42 lines
1.2 KiB
Bash
Raw Normal View History

2016-02-03 00:58:10 +00:00
# $Id$
2016-03-17 12:22:57 +00:00
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Gergely Imreh <imrehg@gmail.com>
2016-02-03 00:58:10 +00:00
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2017-06-09 18:11:23 +00:00
# - remove -msse2
2016-02-03 00:58:10 +00:00
pkgname=io
2017-06-09 18:11:23 +00:00
pkgver=2017.06.08
pkgrel=1
2016-02-03 00:58:10 +00:00
pkgdesc='IO programming language'
arch=('x86_64' 'i686')
url='http://iolanguage.com/'
license=('BSD')
2017-06-09 18:11:23 +00:00
depends=('pcre' 'libsndfile' 'libxmu' 'freetype2' 'libedit' 'libxml2' 'libtiff' 'libevent' 'yajl' 'libmariadbclient' 'lzo' 'libpng' 'python2' 'util-linux' 'freeglut' 'libjpeg-turbo' 'libtheora' 'python')
2016-02-03 00:58:10 +00:00
makedepends=('cmake' 'git')
options=('!makeflags' '!buildflags')
2017-06-09 18:11:23 +00:00
source=("git+https://github.com/stevedekorte/io#commit=5fffec7cbe9679632ff793befacedd92f79d7f0f"
'0001-remove-msse2.patch')
sha256sums=('SKIP'
'3b34ae67b11c64c9633a70506551e8021fedb17c91eb3f9f5e4c8e78711708a3')
2016-02-03 00:58:10 +00:00
prepare() {
2017-06-09 18:11:23 +00:00
sed -i "s:20151111:${pkgver//./}:" io/libs/iovm/source/IoVersion.h
2016-02-03 00:58:10 +00:00
cd io
2017-06-09 18:11:23 +00:00
git apply ../0001-remove-msse2.patch
2016-02-03 00:58:10 +00:00
}
build() {
mkdir -p build
cd build
2017-06-09 18:11:23 +00:00
cmake ../io -DCMAKE_INSTALL_PREFIX=/usr
2016-02-03 00:58:10 +00:00
}
package() {
2017-06-09 18:11:23 +00:00
DESTDIR="$pkgdir" make -C build install
install -Dm644 io/license/bsd_license.txt \
2016-02-03 00:58:10 +00:00
"$pkgdir/usr/share/licenses/$pkgname/bsd_license.txt"
}
2017-06-09 18:11:23 +00:00
# vim: ts=2 sw=2 et: