updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / gpaste / PKGBUILD
blob21b002be0b6e53cade5111596dcd91f1fd4242ee
1 # Maintainer:  Elder Marco <eldermarco at gmail dot com>
3 pkgname=gpaste
4 pkgver=2.2.1
5 pkgrel=1
6 pkgdesc="Clipboard management system with a gnome-shell extension"
8 license=('GPL3')
9 url="https://github.com/Keruspe/GPaste"
10 source=("https://github.com/downloads/Keruspe/GPaste/$pkgname-$pkgver.tar.xz")
12 makedepends=('dbus-core' 'libxml2' 'gtk3' 'intltool>=0.40.0')
13 depends=('dbus-core' 'libxml2' 'gtk3' 'gnome-shell>=3.2.0')
14 install=$pkgname.install
16 arch=('i686' 'x86_64')
17 md5sums=('eb5cab739136d7feecc22fd2196790d3')
19 build () {
20     cd "$srcdir/$pkgname-$pkgver"
22     ./configure --prefix=/usr           \
23                 --sysconfdir=/etc       \
24                 --libexecdir=/usr/lib   \
25                 --disable-applet        \
26                 --disable-schemas-compile
27     make
30 package () {
31     cd "$srcdir/$pkgname-$pkgver"
32     make DESTDIR="$pkgdir" install
34     # bash/zsh completion support
35     install -Dp -m0644 data/completions/$pkgname     \
36         "$pkgdir/etc/bash_completion.d/$pkgname"
37     install -Dp -m0644 data/completions/_$pkgname    \
38         "$pkgdir/usr/share/zsh/site-functions/_$pkgname"
40 # expandtab:tabstop=4:shiftwidth=4