mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
50 lines
1.2 KiB
Bash
50 lines
1.2 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Contributor: nesl247 <nesl247@gmail.com>
|
|
# Maintainer: JJDaNiMoTh <jjdanimoth@gmail.com>
|
|
|
|
pkgname=fusion-icon
|
|
pkgver=20090414
|
|
pkgrel=1
|
|
pkgdesc="Simple tray icon for compiz"
|
|
arch=('i686' 'x86_64')
|
|
url="http://opencompositing.org"
|
|
license=('GPL')
|
|
depends=('compiz-core>=0.6.0' 'pygtk' 'compizconfig-python' \
|
|
'hicolor-icon-theme' 'libtool' 'xorg-utils')
|
|
makedepends=('git')
|
|
groups=('compiz-fusion' 'compiz-fusion-kde' 'compiz-fusion-gtk')
|
|
replace=()
|
|
conflict=('fusion-icon-git')
|
|
install=fusion-icon.install
|
|
source=()
|
|
md5sums=()
|
|
|
|
|
|
_gitroot="git://anongit.opencompositing.org/users/crdlb/fusion-icon"
|
|
_gitname="fusion-icon"
|
|
|
|
build() {
|
|
msg "Connecting to opencompositing.org GIT server...."
|
|
|
|
if [[ -d $startdir/src/$_gitname ]] ; then
|
|
cd $_gitname
|
|
git-pull origin || return 1
|
|
msg "The local files are updated."
|
|
else
|
|
git clone $_gitroot || return 1
|
|
fi
|
|
|
|
msg "GIT checkout done"
|
|
msg "Starting make..."
|
|
|
|
# Remove old -build
|
|
rm -rf $startdir/src/$_gitname-build
|
|
|
|
cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
|
|
cd $startdir/src/$_gitname-build
|
|
|
|
make PREFIX=/usr DESTDIR=$startdir/pkg install || return 1
|
|
|
|
cd $startdir/src
|
|
rm -rf $_gitname-build
|
|
}
|