[arch-commits] Commit in ispc/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Sep 10 03:05:20 UTC 2015


    Date: Thursday, September 10, 2015 @ 05:05:20
  Author: foutrelis
Revision: 139723

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  ispc/repos/community-staging-i686/
  ispc/repos/community-staging-i686/PKGBUILD
    (from rev 139722, ispc/trunk/PKGBUILD)
  ispc/repos/community-staging-x86_64/
  ispc/repos/community-staging-x86_64/PKGBUILD
    (from rev 139722, ispc/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

Copied: ispc/repos/community-staging-i686/PKGBUILD (from rev 139722, ispc/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-10 03:05:20 UTC (rev 139723)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=ispc
+pkgver=1.8.2
+pkgrel=2
+pkgdesc="A compiler for high-performance SIMD programming on the CPU"
+arch=('i686' 'x86_64')
+url="https://ispc.github.io/"
+license=('BSD')
+depends=('zlib')
+makedepends=('llvm' 'clang' 'python2')
+source=("$pkgname-${pkgver}.tar.gz::https://github.com/ispc/ispc/archive/v${pkgver}.tar.gz")
+md5sums=('ef99fb9e5fe5ca59d429ea8d0e6affd0')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  # fix python version
+  find . -name "*.py" -exec sed -i 's|python$|python2|' '{}' ';'
+  sed -i 's|python |python2 |' Makefile
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  install -D -m755 ispc "$pkgdir/usr/bin/ispc"
+  install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}
+

Copied: ispc/repos/community-staging-x86_64/PKGBUILD (from rev 139722, ispc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-10 03:05:20 UTC (rev 139723)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=ispc
+pkgver=1.8.2
+pkgrel=2
+pkgdesc="A compiler for high-performance SIMD programming on the CPU"
+arch=('i686' 'x86_64')
+url="https://ispc.github.io/"
+license=('BSD')
+depends=('zlib')
+makedepends=('llvm' 'clang' 'python2')
+source=("$pkgname-${pkgver}.tar.gz::https://github.com/ispc/ispc/archive/v${pkgver}.tar.gz")
+md5sums=('ef99fb9e5fe5ca59d429ea8d0e6affd0')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  # fix python version
+  find . -name "*.py" -exec sed -i 's|python$|python2|' '{}' ';'
+  sed -i 's|python |python2 |' Makefile
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  install -D -m755 ispc "$pkgdir/usr/bin/ispc"
+  install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}
+



More information about the arch-commits mailing list