diff --git a/srcpkgs/libclc-git/template b/srcpkgs/libclc-git/template index 193def5b01b..6e8b7800210 100644 --- a/srcpkgs/libclc-git/template +++ b/srcpkgs/libclc-git/template @@ -1,8 +1,8 @@ # Template file for 'libclc-git' pkgname=libclc-git -version=20160905 +version=20160921 revision=1 -_git_hash=88b82a6f70012a903b10dfc1e2304d3ef2e76dbc +_git_hash=520743b0b72862a987ead6213dc1a5321a2010f9 wrksrc="libclc-${_git_hash}" build_style=configure configure_script="./configure.py" @@ -16,9 +16,14 @@ homepage="http://libclc.llvm.org" provides="libclc-${version}_${revision}" replaces="libclc>=0" noarch=yes -distfiles="https://github.com/llvm-mirror/libclc/archive/${_git_hash}.tar.gz" -checksum=4d01522ad7228fa91d46ccad68cac9fc6d2079bad23b4f0479f378dd9e9dc52e +distfiles="https://github.com/llvm-mirror/libclc/archive/${_git_hash}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=82c89bb15f79eaf525d283dda82403b213ef1a11b1ea9d843799fb04e08d190d +pre_build() { + sed -i Makefile \ + -e"s;/usr/bin/clang++;g++;g" \ + -e"s;-mtune=i686;;g" +} post_install() { vlicense LICENSE.TXT }