diff options
author | Max Christian Pohle | 2015-11-21 18:15:59 +0100 |
---|---|---|
committer | Max Christian Pohle | 2015-11-21 18:15:59 +0100 |
commit | f67650f7e1d3c48e6fd123ac4c8537220d6ab053 (patch) | |
tree | 4903d33d954cf9c8e9b37189163452afcac7e265 /packages | |
parent | ce38d5155853e9c091b4104c17e3b674a58cc0d7 (diff) | |
download | qspacestatus-f67650f7e1d3c48e6fd123ac4c8537220d6ab053.tar.bz2 qspacestatus-f67650f7e1d3c48e6fd123ac4c8537220d6ab053.zip |
added build chain for arch linux
Diffstat (limited to 'packages')
-rw-r--r-- | packages/arch/Makefile | 8 | ||||
-rw-r--r-- | packages/arch/PKGBUILD | 52 |
2 files changed, 60 insertions, 0 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 | } | ||