updated on Wed Jan 18 04:00:29 UTC 2012
[aur-mirror.git] / pkgcacheclean / PKGBUILD
blob84df0db63df026c4648d850d2bf4435f487cc103
1 # Maintainer: Auguste Pop <auguste [at] gmail [dot] com>
3 pkgname=pkgcacheclean
4 pkgver=1.6
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>=4')
11 source=($pkgname.c)
12 md5sums=('b54f6682bb0e29d292dd9cea2d29ffb9')
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"