summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD36
-rw-r--r--gpaste-daemon.install13
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2a0c09d1bd8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = gpaste-daemon
+ pkgdesc = A clipboard management daemon
+ pkgver = 3.16.2.1
+ pkgrel = 1
+ url = http://www.imagination-land.org/tags/GPaste.html
+ install = gpaste-daemon.install
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = gobject-introspection
+ makedepends = intltool
+ depends = gtk3
+ depends = systemd
+ depends = xcb-util-keysyms
+ provides = gpaste
+ conflicts = cinnamon-extension-gpaste
+ conflicts = gpaste
+ options = !emptydirs
+ options = !libtool
+ source = http://www.imagination-land.org/files/gpaste/gpaste-3.16.2.1.tar.xz
+ md5sums = 935b66abf61e1a0d6385acdbecbb8134
+
+pkgname = gpaste-daemon
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4fcb24f52d4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Contributor : Yamashita Ren
+# Contributor : Ner0
+
+pkgname=gpaste-daemon
+pkgver=3.16.2.1
+pkgrel=1
+pkgdesc="A clipboard management daemon"
+arch=('i686' 'x86_64')
+url="http://www.imagination-land.org/tags/GPaste.html"
+license=('GPL3')
+depends=('gtk3' 'systemd' 'xcb-util-keysyms')
+makedepends=('gobject-introspection' 'intltool')
+conflicts=('cinnamon-extension-gpaste' 'gpaste')
+provides=('gpaste')
+options=('!emptydirs' '!libtool')
+install=$pkgname.install
+source=("http://www.imagination-land.org/files/gpaste/gpaste-$pkgver.tar.xz")
+md5sums=('935b66abf61e1a0d6385acdbecbb8134')
+
+build () {
+ cd ${pkgname%-*}-${pkgver}
+
+ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
+ --disable-applet --disable-gnome-shell-extension \
+ --without-controlcenterdir --disable-schemas-compile --disable-vala
+ make
+}
+
+package () {
+ cd ${pkgname%-*}-${pkgver}
+ make DESTDIR="$pkgdir/" install
+
+ install -Dpm644 data/completions/gpaste "$pkgdir/etc/bash_completion.d/gpaste"
+ install -Dpm644 data/completions/_gpaste "$pkgdir/usr/share/zsh/site-functions/_gpaste"
+ rm -rf "$pkgdir/no"
+}
diff --git a/gpaste-daemon.install b/gpaste-daemon.install
new file mode 100644
index 00000000000..0ca690202ec
--- /dev/null
+++ b/gpaste-daemon.install
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas --allow-any-name usr/share/glib-2.0/schemas
+}
+
+post_upgrade()
+{
+ post_install "$1"
+}
+
+post_remove()
+{
+ post_install "$1"
+}