21 lines
586 B
Bash
21 lines
586 B
Bash
# Maintainer: Martchus <martchus@gmx.net>
|
|
|
|
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
|
# you also find the URL of a binary repository.
|
|
|
|
pkgname=clang-ccache
|
|
pkgver=1
|
|
pkgrel=1
|
|
pkgdesc='A compiler cache (symlinks for clang)'
|
|
arch=('any')
|
|
url="http://ccache.samba.org/"
|
|
license=('GPL3')
|
|
depends=('ccache')
|
|
|
|
package() {
|
|
mkdir -p "${pkgdir}/usr/lib/ccache/bin"
|
|
ln -sf /usr/bin/ccache "${pkgdir}/usr/lib/ccache/bin/clang"
|
|
ln -sf /usr/bin/ccache "${pkgdir}/usr/lib/ccache/bin/clang++"
|
|
ln -sf /usr/bin/ccache "${pkgdir}/usr/lib/ccache/bin/clang-3.8"
|
|
}
|