updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / pkgcacheclean / PKGBUILD
blob8ea94e8900e4eddada7456c2275fd1754220c329
1 # Maintainer: Auguste Pop <auguste [at] gmail [dot] com>
3 pkgname=pkgcacheclean
4 pkgver=1.5.1
5 pkgrel=1
6 pkgdesc="Application to clean the pacman cache"
7 arch=('i686' 'x86_64')
8 url=('https://bbs.archlinux.org/viewtopic.php?pid=841774')
9 license=('GPL')
10 depends=('pacman')
11 source=($pkgname.c)
12 md5sums=('15c40ef97c8fcee23a7aee4918960dff')
14 build()
16     cd "$srcdir"
17     gcc -o $pkgname $CFLAGS -DVERSION=\"$pkgver\" -DCARCH=\"$CARCH\" \
18         $pkgname.c -lalpm $LDFLAGS
21 package()
23     install -m 755 -D "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"