diff options
-rw-r--r-- | packages/arch/Makefile | 8 | ||||
-rw-r--r-- | packages/arch/PKGBUILD | 52 | ||||
-rw-r--r-- | qspaceapi.pro | 6 |
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 @@ | |||
1 | package: | ||
2 | makepkg -cf | ||
3 | |||
4 | install: | ||
5 | makepkg -i qspacestatus-master.tar.gz | ||
6 | |||
7 | clean: | ||
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> | ||
2 | pkgname=qspacestatus | ||
3 | pkgver=0.1 | ||
4 | pkgrel=1 | ||
5 | epoch= | ||
6 | pkgdesc="A QT system tray icon for spaceAPI. Is your hackerspace currently open?" | ||
7 | arch=('i686' 'x86_64') | ||
8 | url="http://git.entwicklerseite.de/qspacestatus" | ||
9 | license=('GPL') | ||
10 | # groups=() | ||
11 | depends=(qt5-base) | ||
12 | makedepends=(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") | ||
24 | source=("http://git.entwicklerseite.de/qspacestatus/snapshot/qspacestatus-master.tar.gz") | ||
25 | noextract=() | ||
26 | md5sums=(aef78b78fe34adc704391d89f893b6ff) | ||
27 | validpgpkeys=() | ||
28 | |||
29 | # prepare() { | ||
30 | # cd "$pkgname-$pkgver" | ||
31 | # patch -p1 -i "$srcdir/$pkgname-$pkgver.patch" | ||
32 | # } | ||
33 | |||
34 | build() { | ||
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 | |||
48 | package() { | ||
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 | |||
12 | TARGET = qspacestatus | 12 | TARGET = qspacestatus |
13 | TEMPLATE = app | 13 | TEMPLATE = app |
14 | 14 | ||
15 | target.path = /usr/local/bin/ | ||
16 | INSTALLS += target | ||
15 | 17 | ||
16 | SOURCES += main.cpp\ | 18 | SOURCES += main.cpp\ |
17 | mainwindow.cpp | 19 | mainwindow.cpp |
@@ -21,6 +23,8 @@ HEADERS += mainwindow.h | |||
21 | FORMS += mainwindow.ui | 23 | FORMS += mainwindow.ui |
22 | 24 | ||
23 | DISTFILES += \ | 25 | DISTFILES += \ |
24 | folder.png | 26 | folder.png \ |
27 | packages/arch/PKGBUILD \ | ||
28 | packages/arch/Makefile | ||
25 | 29 | ||
26 | RESOURCES += | 30 | RESOURCES += |