updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / opera-standard-skin-netbook-git / PKGBUILD
blob3241c4f0d0fce8efed925afa0a085f685ab74336
1 # Maintainer: OK100 <ok100.ok100.ok100@gmail.com>
3 pkgname=opera-standard-skin-netbook-git
4 pkgver=20111211
5 pkgrel=1
6 pkgdesc="Default Featherweight skin for Opera 11+. Compact version for netbooks."
7 arch=(any)
8 url="http://www.opera.com/"
9 license=('custom:opera')
10 depends=('opera')
11 makedepends=('git' 'zip')
13 _gitroot="git://github.com/ok100/opera-standard-skin-netbook.git"
14 _gitname="opera-standard-skin-netbook"
16 build() {
17   cd "$srcdir"
18   msg "Connecting to GIT server..."
20   if [ -d $_gitname ] ; then
21     cd $_gitname && git pull origin
22     msg "The local files are updated."
23   else
24     git clone $_gitroot $_gitname
25   fi
26   msg "GIT checkout done or server timeout"
28   cd "$srcdir/$_gitname"
29   zip -r $_gitname.zip *
30   install -m644 -D $_gitname.zip $pkgdir/usr/share/opera/skin/$_gitname.zip