Created
April 14, 2012 00:02
-
-
Save elder/2381108 to your computer and use it in GitHub Desktop.
PKGBUILD for gpaste 2.5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Elder Marco <eldermarco at gmail dot com> | |
pkgname=gpaste | |
pkgver=2.5 | |
pkgrel=1 | |
pkgdesc="Clipboard management system with a gnome-shell extension" | |
license=('GPL3') | |
url="https://github.com/Keruspe/GPaste" | |
source=("https://github.com/downloads/Keruspe/GPaste/$pkgname-$pkgver.tar.xz") | |
makedepends=('dbus-core' 'libxml2' 'libxcb' 'xcb-util-keysyms' 'gtk3' 'vala' 'intltool') | |
options=(!libtool) | |
depends=('dbus-core' 'libxml2' 'gtk3' 'gnome-shell>=3.4') | |
install=$pkgname.install | |
arch=('i686' 'x86_64') | |
md5sums=('44ddc08c5c03151867623da3cce06846') | |
build () { | |
cd "$srcdir/$pkgname-$pkgver" | |
./configure --prefix=/usr \ | |
--sysconfdir=/etc \ | |
--libexecdir=/usr/lib \ | |
--enable-vala \ | |
--disable-static \ | |
--disable-applet \ | |
--disable-schemas-compile | |
make | |
} | |
package () { | |
cd "$srcdir/$pkgname-$pkgver" | |
make DESTDIR="$pkgdir" install | |
# bash/zsh completion support | |
install -Dp -m0644 data/completions/$pkgname \ | |
"$pkgdir/etc/bash_completion.d/$pkgname" | |
install -Dp -m0644 data/completions/_$pkgname \ | |
"$pkgdir/usr/share/zsh/site-functions/_$pkgname" | |
} | |
# expandtab:tabstop=4:shiftwidth=4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment