Date: Saturday, September 5, 2015 @ 01:01:09 Author: heftig Revision: 245332
Add GPaste, for GNOME Added: gpaste/trunk/PKGBUILD gpaste/trunk/gpaste.install ----------------+ PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ gpaste.install | 11 +++++++++++ 2 files changed, 52 insertions(+) Added: PKGBUILD =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-09-04 23:01:09 UTC (rev 245332) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <[email protected]> + +pkgname=gpaste +pkgver=3.16.2.1 +pkgrel=1 +pkgdesc="Clipboard management system" +url="http://www.imagination-land.org/tags/GPaste.html" +license=(GPL3) +arch=(i686 x86_64) +depends=(gtk3) +makedepends=(intltool vala appstream-glib gobject-introspection gnome-shell gnome-control-center) +optdepends=("wgetpaste: Upload clipboard contents") +options=('!emptydirs') +install=gpaste.install +source=("http://www.imagination-land.org/files/$pkgname/$pkgname-$pkgver.tar.xz") +sha256sums=('91e8c9fb4cf3d68ecf70cc7af14635424941cfa783f3d94b42895a5389d59cb6') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr \ + --libexecdir=/usr/lib \ + --sysconfdir=/etc \ + --enable-vala + make +} + +check () { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + install -Dm644 data/completions/gpaste \ + "$pkgdir/usr/share/bash-completion/completions/gpaste" + install -Dm644 data/completions/_gpaste \ + "$pkgdir/usr/share/zsh/site-functions/_gpaste" +} Property changes on: gpaste/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: gpaste.install =================================================================== --- gpaste.install (rev 0) +++ gpaste.install 2015-09-04 23:01:09 UTC (rev 245332) @@ -0,0 +1,11 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}
