[arch-commits] Commit in (ispc ispc/repos ispc/trunk ispc/trunk/PKGBUILD)
Lukas Jirkovsky
stativ at archlinux.org
Wed Mar 11 20:27:08 UTC 2015
Date: Wednesday, March 11, 2015 @ 21:27:08
Author: stativ
Revision: 129083
ispc: add ispc to the repository as a dependency of luxmark.
Added:
ispc/
ispc/repos/
ispc/trunk/
ispc/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Added: ispc/trunk/PKGBUILD
===================================================================
--- ispc/trunk/PKGBUILD (rev 0)
+++ ispc/trunk/PKGBUILD 2015-03-11 20:27:08 UTC (rev 129083)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=ispc
+pkgver=1.8.1
+pkgrel=1
+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=('d2088f719afc1e0e98f3af89676a189c')
+
+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"
+}
+
Property changes on: ispc/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list