1 # Maintainer: Ngoc Nguyen Bao <baongoc124@gmail.com>
2 pkgname=hide-pidgin-attention-button-git
5 pkgdesc="Pidgin Plugin - Hide Pidgin Attention Button"
7 url="https://github.com/soomsoom/Hide-Pidgin-Attention-Button"
9 depends=(freetype2 cairo libpurple gtk2)
13 _gitroot="https://github.com/soomsoom/Hide-Pidgin-Attention-Button"
14 _gitname="Hide-Pidgin-Attention-Button"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_gitname-build"
31 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
42 cd "$srcdir/$_gitname-build"
43 make DESTDIR="$pkgdir/" install