updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / meego-icon-theme-git / PKGBUILD
blobd1637be44439b05abd978ea6eb417347332cd2c1
1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=meego-icon-theme-git
4 pkgver=20110219
5 pkgrel=1
6 pkgdesc="Base icon theme for MeeGo UX"
7 arch=('any')
8 url="http://meego.com"
9 license=('GPL')
10 groups=('meego')
11 depends=()
12 makedepends=('git')
13 provides=('meego-icon-theme')
14 conflicts=('meego-icon-theme')
15 install=meego-icon-theme.install
17 _gitroot="git://gitorious.org/meego-netbook-ux/meego-icon-theme.git"
18 _gitname="meego-icon-theme"
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 $_gitname
29   fi
31   msg "GIT checkout done or server timeout"
34 package() {
35   cd "$srcdir/$_gitname"
37   install -d "${pkgdir}/usr/share/icons/MeeGo UX"
38   cp -r netbook/* "${pkgdir}/usr/share/icons/MeeGo UX"
39