[arch-commits] Commit in io/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Wed Dec 11 18:14:31 UTC 2013


    Date: Wednesday, December 11, 2013 @ 19:14:31
  Author: arodseth
Revision: 102464

upgpkg: io 2013.12.04-1

Modified:
  io/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-11 18:01:52 UTC (rev 102463)
+++ PKGBUILD	2013-12-11 18:14:31 UTC (rev 102464)
@@ -3,7 +3,7 @@
 # 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 @@
 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"
 }
 




More information about the arch-commits mailing list