summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4fcb24f52d463ff8da87d302d699bf42144a4644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"
}