diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-01 15:13:07 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-01 15:13:07 -0300 |
commit | 11dd742b39ac10b320183f78d2cf81e4680f9a4e (patch) | |
tree | d6150b2fd3f3127e1aa88e173e17a4f1ad205f75 /extra/ccache | |
parent | 1365d8aac05d2f167d0a1678cc291bbec3efff5c (diff) | |
parent | c40a217db5f63be3aa88a32ad77ec93efb40d95c (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/mhwaveedit/PKGBUILD
extra/apr/PKGBUILD
extra/xorg-server/PKGBUILD
kde-unstable/calligra/PKGBUILD
libre/unarchiver/PKGBUILD
Diffstat (limited to 'extra/ccache')
-rw-r--r-- | extra/ccache/PKGBUILD | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/extra/ccache/PKGBUILD b/extra/ccache/PKGBUILD index ebd050a34..0491cfb94 100644 --- a/extra/ccache/PKGBUILD +++ b/extra/ccache/PKGBUILD @@ -1,26 +1,32 @@ -# $Id: PKGBUILD 105538 2011-01-10 11:06:14Z giovanni $ +# $Id: PKGBUILD 125865 2011-05-30 17:15:51Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=ccache -pkgver=3.1.4 +pkgver=3.1.5 pkgrel=1 pkgdesc="A compiler cache" url="http://ccache.samba.org/" -source=(http://samba.org/ftp/${pkgname}/$pkgname-$pkgver.tar.bz2) +source=("http://samba.org/ftp/${pkgname}/$pkgname-$pkgver.tar.bz2") license=('GPL') arch=('i686' 'x86_64' 'mips64el') depends=('zlib') -md5sums=('676fda8a9a5e02574435c32b22942abd') +md5sums=('f652bd20253bb4aa1440ae50bea3c9e3') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr - make || return 1 + + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -Dm 755 ccache ${pkgdir}/usr/bin/ccache install -Dm 644 ccache.1 ${pkgdir}/usr/share/man/man1/ccache.1 - mkdir -p ${pkgdir}/usr/lib/ccache/bin + install -d ${pkgdir}/usr/lib/ccache/bin ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/cc ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/gcc ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/g++ |