summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0ff20dac779..843b9baf0db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,23 +2,27 @@
pkgname=pkgcacheclean
pkgver=1.8.2
-pkgrel=3
+pkgrel=4
pkgdesc="Application to clean the pacman cache"
arch=('i686' 'x86_64' 'armv5' 'armv6' 'armv7')
url='https://bbs.archlinux.org/viewtopic.php?pid=841774'
license=('GPL')
depends=('pacman>=5')
-source=($pkgname.c)
-md5sums=('d79fac7e27381249774fc8e6f15d7f2e')
+source=($pkgname.c
+ $pkgname.8)
+md5sums=('d79fac7e27381249774fc8e6f15d7f2e'
+ '965889f755e4611c12f8c9ac0048372d')
build()
{
cd "$srcdir"
gcc -o $pkgname $CFLAGS -DVERSION=\"$pkgver\" -DCARCH=\"$CARCH\" \
$pkgname.c -lalpm $LDFLAGS
+ gzip --keep --force $pkgname.8
}
package()
{
install -m 755 -D "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -m 644 -D "$srcdir/$pkgname.8.gz" "$pkgdir/usr/share/man/man8/$pkgname.8.gz"
}