updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lxappearance-git / PKGBUILD
blobd0c637007f88731ce021a5ed2615f090df6034cf
1 # myswiat - mariusz
3 pkgname=lxappearance-git
4 pkgver=20110805
5 pkgrel=1
6 url="http://pcmanfm.sourceforge.net/"
7 pkgdesc="standard screen manager of LXDE"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 depends=('gtk2' 'gtk3' 'glib2' 'menu-cache')
11 makedepends=('git' 'intltool' 'pkgconfig' 'autoconf' 'perl' 'gtk-doc')
12 provides=('lxappearance')
13 conflicts=('lxappearance')
14 replaces=()
16 _gitroot="git://pcmanfm.git.sourceforge.net/gitroot/lxde/lxappearance"
17 _gitname="lxappearance"
20 build() {
21   cd "$srcdir"
22   msg "Connecting to GIT server...."
24   if [ -d "$_gitname" ] ; then
25     cd "$_gitname" && git pull origin
26     msg "The local files are updated."
27   else
28     git clone "$_gitroot"
29   fi
31   msg "GIT checkout done or server timeout"
32   msg "Starting make..."
34 cd "${srcdir}/${_gitname}"
35 ./autogen.sh
36 ./configure --prefix="/usr" --sysconfdir="/etc" --enable-man --enable-gtk3
37 make
38 make DESTDIR=${pkgdir} install