diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-09-09 11:55:53 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-09-09 11:55:53 -0300 |
commit | 7fb4c691ee96e9ea02b89d4fdd00c64186446d9c (patch) | |
tree | 304036259a1c2a9192f8f15a088b15e158ba7be7 /libre/libclc-svn/PKGBUILD | |
parent | 851936e397e259c5b6ef12837c2b624fcd8003ec (diff) | |
parent | 58d1f1eb75d3b2e65cd2ed341bc7811775befcef (diff) | |
download | abslibre-7fb4c691ee96e9ea02b89d4fdd00c64186446d9c.tar.gz abslibre-7fb4c691ee96e9ea02b89d4fdd00c64186446d9c.tar.bz2 abslibre-7fb4c691ee96e9ea02b89d4fdd00c64186446d9c.zip |
Merge branch 'master' of vparabola:abslibre
Diffstat (limited to 'libre/libclc-svn/PKGBUILD')
-rw-r--r-- | libre/libclc-svn/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libre/libclc-svn/PKGBUILD b/libre/libclc-svn/PKGBUILD new file mode 100644 index 000000000..3b7034348 --- /dev/null +++ b/libre/libclc-svn/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Márcio Silva <coadde@lavabit.com> + +_pkgname=libclc +pkgname=$_pkgname-svn +pkgver=$(LC_ALL=C date -u +%Y%m%d) +pkgrel=1 +arch=(mips64el x86_64 i686) +pkgdesc='Library requirements of the OpenCL C programming language' +url=http://libclc.llvm.org/ +license=MIT +depends=llvm-libs +makedepends=(clang python2 svn) +provides=($_pkgname) +conflicts=$_pkgname +source=$_pkgname::svn+http://llvm.org/svn/llvm-project/libclc/trunk +sha512sums=SKIP + +prepare() { + sed -i 's|/usr/bin/python|/usr/bin/python2|g; + ' $srcdir/$_pkgname/{configure,build/ninja_syntax}.py +} + +build() { + cd $srcdir/$_pkgname + ./configure.py --prefix=/usr + make +} + +package() { + cd $srcdir/$_pkgname + make DESTDIR=$pkgdir install + install -vDm644 LICENSE.TXT $pkgdir/usr/share/licenses/$pkgname/LICENSE +} |