summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFernando Henrique2018-05-17 09:52:44 -0300
committerFernando Henrique2018-05-17 09:52:44 -0300
commita9c76f8cc54ca0e40b6d86365a7de9a21a0a1605 (patch)
tree4c428af22270431c6e459cd93e96c2aa8360efd1
downloadaur-subutai-control-center.tar.gz
initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD47
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f65499328b3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = subutai-control-center
+ pkgdesc = Allows you to access peers, containers and Environments via SSH or RDesktop.
+ pkgver = 7.0.1
+ pkgrel = 1
+ url = https://subutai.io/
+ arch = x86_64
+ license = GPL
+ makedepends = fakeroot
+ makedepends = make
+ makedepends = qt5-quickcontrols2
+ makedepends = gcc
+ makedepends = icu
+ makedepends = qt5-websockets
+ depends = icu
+ depends = qt5-websockets
+ source = git://github.com/subutai-io/control-center
+ md5sums = SKIP
+
+pkgname = subutai-control-center
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b47adc518a2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Fernando HR Silva <liquuid@gmail.com>
+pkgname=subutai-control-center
+pkgver=7.0.1
+pkgrel=1
+pkgdesc="Allows you to access peers, containers and Environments via SSH or RDesktop."
+arch=('x86_64')
+url="https://subutai.io/"
+license=('GPL')
+groups=()
+depends=('icu' 'qt5-websockets')
+makedepends=('fakeroot' 'make' 'qt5-quickcontrols2' 'gcc' 'icu' 'qt5-websockets')
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=("git://github.com/subutai-io/control-center")
+noextract=()
+md5sums=('SKIP') #autofill using updpkgsums
+
+build() {
+ cd "control-center"
+ sed "s/^which debuild/#which debuild/g" -i ./configure
+ ./configure --no-debian
+ qmake
+ make -j 8
+}
+
+package() {
+ mkdir -p $pkgdir/usr/share/icons
+ mkdir -p $pkgdir/usr/bin
+ mkdir -p $pkgdir/opt/subutai/lib
+ mkdir -p $pkgdir/opt/subutai/bin
+ mkdir -p $pkgdir/opt/subutai/log
+ mkdir -p $pkgdir/opt/subutai/Libs
+
+ #chmod -R 0777 $pkgdir/opt/subutai/log
+ #chmod -R 0777 $pkgdir/opt/subutai/bin
+
+ ln -s /opt/subutai/bin/SubutaiControlCenter $pkgdir/usr/bin/SubutaiControlCenter
+
+ cp -v control-center/SubutaiControlCenter $pkgdir/opt/subutai/bin
+ cp -v control-center/resources/cc_icon.png $pkgdir/usr/share/icons
+}