blob: 28b91d2aa851dff9b5437139300d98342924cf5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Jan Trejbal <jan.trejbal@gmail.com>
pkgname=gnome-shell-extension-docker-integration-git
pkgver=20160321
pkgrel=4
pkgdesc="Base Docker&Docker compose integration (start, stop, log, up), hide Docker network (veth*)"
arch=('any')
url="https://github.com/Trejjam/Gnome-Docker-integration"
license=('GPL3')
depends=('gnome-shell>=3.18' 'networkmanager')
makedepends=('git')
provides=("docker-integration-applet")
#install=gschemas.install
_gitroot="git://github.com/Trejjam/Gnome-Docker-integration.git"
_gitname="gnome-docker-integration"
build() {
cd ${srcdir}/
msg "Connecting to the GIT server..."
if [[ -d ${srcdir}/${_gitname} ]] ; then
cd ${_gitname}
git pull origin
msg "The local files are updated..."
else
git clone ${_gitroot} ${_gitname}
fi
msg "GIT checkout done."
}
package() {
cd "$srcdir/gnome-docker-integration"
mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/"
cp -R "src" "$pkgdir/usr/share/gnome-shell/extensions/docker-integration@jan.trejbal.gmail.com"
}
|