summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAuguste Pop2015-06-15 12:51:02 +0800
committerAuguste Pop2015-06-15 12:51:02 +0800
commit05b4da73d71e430c448bde148768f4538038d313 (patch)
treef5178f5df8a8f42cc34f86d0e3a4768ae0930c40 /PKGBUILD
downloadaur-05b4da73d71e430c448bde148768f4538038d313.tar.gz
migrate from aur
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e144b27d749
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Auguste Pop <auguste [at] gmail [dot] com>
+
+pkgname=pkgcacheclean
+pkgver=1.8.2
+pkgrel=2
+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>=4.1')
+source=($pkgname.c)
+md5sums=('d79fac7e27381249774fc8e6f15d7f2e')
+
+build()
+{
+ cd "$srcdir"
+ gcc -o $pkgname $CFLAGS -DVERSION=\"$pkgver\" -DCARCH=\"$CARCH\" \
+ $pkgname.c -lalpm $LDFLAGS
+}
+
+package()
+{
+ install -m 755 -D "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"
+}