summaryrefslogtreecommitdiff
path: root/community/clipit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/clipit
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/clipit')
-rw-r--r--community/clipit/PKGBUILD28
-rw-r--r--community/clipit/clipit.install7
2 files changed, 35 insertions, 0 deletions
diff --git a/community/clipit/PKGBUILD b/community/clipit/PKGBUILD
new file mode 100644
index 000000000..bd39684a2
--- /dev/null
+++ b/community/clipit/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 76710 2012-09-27 13:37:18Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: Mihai Militaru <mihai dot militaru at xmpp dot ro>
+
+pkgname=clipit
+pkgver=1.4.2
+pkgrel=4
+pkgdesc="Lightweight GTK+ clipboard manager (fork of Parcellite)"
+arch=('i686' 'x86_64')
+url="http://gtkclipit.sourceforge.net/"
+license=('GPL3')
+depends=('gtk2' 'gtk-update-icon-cache' 'hicolor-icon-theme' 'librsvg')
+makedepends=('intltool')
+optdepends=('xdotool: for automatic paste')
+install=$pkgname.install
+source=(https://github.com/downloads/shantzu/ClipIt/${pkgname}-${pkgver}.tar.gz)
+md5sums=('118175f26869adcf04909fdbb5021eff')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
diff --git a/community/clipit/clipit.install b/community/clipit/clipit.install
new file mode 100644
index 000000000..ea395d140
--- /dev/null
+++ b/community/clipit/clipit.install
@@ -0,0 +1,7 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_uninstall() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}