summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjjacky2012-02-07 15:41:26 +0100
committerOlivier Brunel2015-06-08 19:14:57 +0200
commitd52e1c0288f94320f964fe6377fd24de08ad22d9 (patch)
tree89872a1ac7b58e7f0bdb9286e42669fbb1229e05
downloadaur-d52e1c0288f94320f964fe6377fd24de08ad22d9.tar.gz
first commit
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD32
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0df46df5152
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = pkgclip
+ pkgdesc = Cached Packages Trimmer Utility
+ pkgver = 0.1.2
+ pkgrel = 1
+ url = https://bitbucket.org/jjacky/pkgclip
+ arch = i686
+ arch = x86_64
+ license = GPL3+
+ makedepends = pkg-config
+ depends = dbus
+ depends = polkit
+ depends = gtk3
+ depends = pacman>=4.0.1
+ source = https://bitbucket.org/jjacky/pkgclip/get/0.1.2.tar.gz
+ md5sums = cce3e41183077e2eeff45ec6fd15364f
+
+pkgname = pkgclip
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..70a9be8634a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: jjacky
+pkgname=pkgclip
+pkgver=0.1.2
+pkgrel=1
+pkgdesc="Cached Packages Trimmer Utility"
+arch=('i686' 'x86_64')
+url="https://bitbucket.org/jjacky/pkgclip"
+license=('GPL3+')
+depends=('dbus' 'polkit' 'gtk3' 'pacman>=4.0.1')
+makedepends=('pkg-config')
+source=(https://bitbucket.org/jjacky/$pkgname/get/$pkgver.tar.gz)
+
+build() {
+ cd "$srcdir"
+ # archive is auto-generated by bitbucket, so name includes last commit
+ _dir=$(ls | grep jjacky-$pkgname-)
+ # moving it all in srcdir
+ mv $_dir/* .
+ # removing e.g. .hg_archival.txt or .hgtags
+ rm -f $_dir/.hg*
+ rmdir $_dir
+ make
+}
+
+package() {
+ cd "$srcdir"
+ make DESTDIR="$pkgdir/" install
+}
+
+md5sums=('cce3e41183077e2eeff45ec6fd15364f')
+
+# vim:set ts=2 sw=2 et: