blob: d5894c3d796d35cf8282e0cc7bdc6a6b103f694d (
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
37
38
39
40
41
42
43
|
#Maintainer: Bjoern Franke <bjo@nord-west.org>
#Contributor: DarkJesus <priestoftime@gmail.com>
pkgname=gmpc-libnotify-git
provides=gmpc-libnotify
conflicts=('gmpc-libnotify' 'gmpc-libnotify-svn')
pkgver=20121007
pkgrel=1
pkgdesc="A plugin for gmpc that displays notifications using libnotify"
url="http://sarine.nl/gmpc"
license="GPL"
arch=('i686' 'x86_64')
depends=('gmpc-git')
makedepends=('git' 'intltool' 'gob2' 'pkgconfig')
options=('!libtool')
source=()
md5sums=()
_gitroot="git://repo.or.cz/gmpc-libnotify.git"
_gitname="gmpc-libnotify"
build() {
cd $startdir/src
msg "Connecting to $_gitroot server..."
if [ -d $startdir/src/$_gitname ] ; then
cd $_gitname && git-pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
cd $startdir/src/$_gitname-build
./autogen.sh --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
find $startdir/pkg -type f -name "*.la" -exec rm {} \;
}
|