aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2015-11-21 18:15:59 +0100
committerMax Christian Pohle2015-11-21 18:15:59 +0100
commitf67650f7e1d3c48e6fd123ac4c8537220d6ab053 (patch)
tree4903d33d954cf9c8e9b37189163452afcac7e265
parentce38d5155853e9c091b4104c17e3b674a58cc0d7 (diff)
downloadqspacestatus-f67650f7e1d3c48e6fd123ac4c8537220d6ab053.tar.bz2
qspacestatus-f67650f7e1d3c48e6fd123ac4c8537220d6ab053.zip
added build chain for arch linux
-rw-r--r--packages/arch/Makefile8
-rw-r--r--packages/arch/PKGBUILD52
-rw-r--r--qspaceapi.pro6
3 files changed, 65 insertions, 1 deletions
diff --git a/packages/arch/Makefile b/packages/arch/Makefile
new file mode 100644
index 0000000..a0c5121
--- /dev/null
+++ b/packages/arch/Makefile
@@ -0,0 +1,8 @@
1package:
2 makepkg -cf
3
4install:
5 makepkg -i qspacestatus-master.tar.gz
6
7clean:
8 rm -f *.tar.gz *.tar
diff --git a/packages/arch/PKGBUILD b/packages/arch/PKGBUILD
new file mode 100644
index 0000000..552928c
--- /dev/null
+++ b/packages/arch/PKGBUILD
@@ -0,0 +1,52 @@
1# Maintainer: Your Name <youremail@domain.com>
2pkgname=qspacestatus
3pkgver=0.1
4pkgrel=1
5epoch=
6pkgdesc="A QT system tray icon for spaceAPI. Is your hackerspace currently open?"
7arch=('i686' 'x86_64')
8url="http://git.entwicklerseite.de/qspacestatus"
9license=('GPL')
10# groups=()
11depends=(qt5-base)
12makedepends=(git)
13# checkdepends=()
14# optdepends=()
15# provides=()
16# conflicts=()
17# replaces=()
18# backup=()
19# options=()
20# install=
21# changelog="http://git.entwicklerseite.de/qspacestatus/log/?showmsg=1" (must be local)
22#source=("$pkgname-$pkgver.tar.gz"
23# "$pkgname-$pkgver.patch")
24source=("http://git.entwicklerseite.de/qspacestatus/snapshot/qspacestatus-master.tar.gz")
25noextract=()
26md5sums=(aef78b78fe34adc704391d89f893b6ff)
27validpgpkeys=()
28
29# prepare() {
30# cd "$pkgname-$pkgver"
31# patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
32# }
33
34build() {
35 # cd "$pkgname-$pkgver"
36 # wget http://git.entwicklerseite.de/qspacestatus/snapshot/qspacestatus-master.tar.gz
37 cd qspacestatus-master/
38 qmake .
39 # ./configure --prefix=/usr/local
40 make
41}
42
43# check() {
44# cd "$pkgname-$pkgver"
45# make -k check
46# }
47
48package() {
49 # cd "$pkgname-$pkgver"
50 cd qspacestatus-master/
51 make DESTDIR="$pkgdir/" install
52}
diff --git a/qspaceapi.pro b/qspaceapi.pro
index 7e25d7c..117f34e 100644
--- a/qspaceapi.pro
+++ b/qspaceapi.pro
@@ -12,6 +12,8 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
12TARGET = qspacestatus 12TARGET = qspacestatus
13TEMPLATE = app 13TEMPLATE = app
14 14
15target.path = /usr/local/bin/
16INSTALLS += target
15 17
16SOURCES += main.cpp\ 18SOURCES += main.cpp\
17 mainwindow.cpp 19 mainwindow.cpp
@@ -21,6 +23,8 @@ HEADERS += mainwindow.h
21FORMS += mainwindow.ui 23FORMS += mainwindow.ui
22 24
23DISTFILES += \ 25DISTFILES += \
24 folder.png 26 folder.png \
27 packages/arch/PKGBUILD \
28 packages/arch/Makefile
25 29
26RESOURCES += 30RESOURCES +=
..