summaryrefslogtreecommitdiff
path: root/community/io/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/io/PKGBUILD')
-rw-r--r--community/io/PKGBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/community/io/PKGBUILD b/community/io/PKGBUILD
index 52ddc03cb..76c2b1e26 100644
--- a/community/io/PKGBUILD
+++ b/community/io/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 99046 2013-10-23 12:00:03Z arodseth $
+# $Id: PKGBUILD 102465 2013-12-11 18:14:42Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
pkgname=io
-pkgver=2011.09.12
+pkgver=2013.12.04
pkgrel=1
pkgdesc='IO programming language'
arch=('x86_64' 'i686')
@@ -13,19 +13,21 @@ depends=('pcre' 'libsndfile' 'libxmu' 'freetype2' 'libedit' 'libxml2' 'libtiff'
makedepends=('cmake')
source=("$pkgname-$pkgver.tar.gz::https://github.com/stevedekorte/io/tarball/$pkgver")
options=('!makeflags' '!buildflags')
-sha256sums=('7b4cb97a0aa3abb562703e1dbfe46925c22820eeca6969865b979c397799d092')
+sha256sums=('a5ca07b4d211995a0cd9442e1d752b2824444bee018c6db31899ddd6c5c87c4f')
build() {
- mkdir -p stevedekorte-io-23afbcc/build
- cd stevedekorte-io-23afbcc/build
+ cd stevedekorte-io-*
+ sed -i "s:20110905:${pkgver//./}:" libs/iovm/source/IoVersion.h
+ mkdir -p build
+ cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
- cd stevedekorte-io-23afbcc/build
- make DESTDIR="$pkgdir" install
- install -Dm644 ../license/bsd_license.txt \
+ cd stevedekorte-io-*
+ make -C build DESTDIR="$pkgdir" install
+ install -Dm644 license/bsd_license.txt \
"$pkgdir/usr/share/licenses/$pkgname/bsd_license.txt"
}