diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-02 15:10:06 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-02 15:10:06 -0300 |
commit | 09eb6d8f09846f8a1c60da28117a1cdbfbdb6641 (patch) | |
tree | 5c9966781050bfda44beef634a1e1ca6bd77578a /libre/libclc-svn | |
parent | d8ac36f67182f4c4a4aff24b8081e0a1d0ca8c9a (diff) | |
parent | 9ab7606c14f449ad70030f7cb7fb530613aab7cb (diff) | |
download | abslibre-09eb6d8f09846f8a1c60da28117a1cdbfbdb6641.tar.gz abslibre-09eb6d8f09846f8a1c60da28117a1cdbfbdb6641.tar.bz2 abslibre-09eb6d8f09846f8a1c60da28117a1cdbfbdb6641.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/libclc-svn')
-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..ada19c6ff --- /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=clang +makedepends=(svn python2) +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 +} |