summaryrefslogtreecommitdiff
path: root/extra/ccache/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ccache/PKGBUILD')
-rw-r--r--extra/ccache/PKGBUILD18
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++