updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / gpaste-git / PKGBUILD
blob589d43523bf8922115e25c4c8f00ca2e5aa0ae5f
1 # Maintainer: FzerorubigD <Fzerorubigd {AT} GMail {DOT} com>
3 pkgname=gpaste-git
4 pkgver=20111027
5 pkgrel=1
6 pkgdesc="a clipboard management tool which comes with a tray applet as well as a GNOME Shell extension"
7 arch=('any')
8 url="https://github.com/Keruspe/GPaste"
9 license=('GPL3')
10 depends=('gnome-shell' 'vala')
11 makedepends=('git' 'intltool')
12 source=()
13 md5sums=()
14 provides=('gpaste')
15 conflicts=('gpaste')
17 install=$pkgname.install
19 _gitroot=https://github.com/Keruspe/GPaste.git
20 _gitname=GPaste
22 build() {
23   cd $srcdir
24   msg "Connecting to githup.com GIT server...."
26   if [ -d $_gitname ] ; then
27     cd $_gitname && git pull origin && cd ..
28     msg "The local files are updated."
29   else
30     git clone $_gitroot
31   fi
32   cd $_gitname
34   msg "GIT checkout done or server timeout"
35   ./autogen.sh --enable-gnome-shell-extension
36   ./configure --prefix=/usr --sysconfdir=/etc
37   make
38   make DESTDIR=$pkgdir install