updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / egtk-bzr / PKGBUILD
blob8f33802fe535001ae77bef09769c1736485fb99d
1 # Maintainer: fresh24 <pascher dot christian at gmail dot com>
3 pkgname=egtk-bzr
4 _pkgname=egtk
5 pkgver=361
6 pkgrel=1
7 pkgdesc="Development branch of the elementary GTK theme."
8 arch=('i686' 'x86_64')
9 url="https://launchpad.net/egtk"
10 license=('GPL2')
11 depends=('gtk-engine-murrine-git' 'gtk-engine-unico')
12 optdepends=('elementary-icons' 'nautilus-elementary')
13 makedepends=('bzr')
14 conflicts=('elementary-gtk-theme')
16 _bzrmod=egtk
17 _bzrtrunk=lp:${_bzrmod}
19 build() {
20         cd ${srcdir}
22         msg "Connecting to the server...."
24         if [ ! -d ./${_bzrmod} ]; then
25                 bzr co ${_bzrtrunk} ${_bzrmod}
26         else
27                 bzr up ${_bzrmod}
28         fi
30         msg "BZR checkout done or server timeout"
31         msg "Starting make..."
33         mkdir -p ${pkgdir}/usr/share/themes
34         cp -r ${srcdir}/${_bzrmod} ${pkgdir}/usr/share/themes/elementary
35         # remove debian files
36         rm -rf ${pkgdir}/usr/share/themes/elementary/debian
37         # remove bzr files
38         rm -rf ${pkgdir}/usr/share/themes/elementary/.bzr
41 package() {
42   return 0