aboutsummaryrefslogtreecommitdiff
path: root/packages/arch/PKGBUILD
blob: c4d591a0bffbfacbd1844e5179c02a2c93678d66 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Maintainer: Your Name <youremail@domain.com>
pkgname=qspacestatus
pkgver=0.1
pkgrel=1
epoch=
pkgdesc="A QT system tray icon for spaceAPI. Is your hackerspace currently open?"
arch=('i686' 'x86_64')
url="http://git.entwicklerseite.de/qspacestatus"
license=('GPL')
# groups=()
depends=(qt5-base)
makedepends=(git)
# checkdepends=()
# optdepends=()
# provides=()
# conflicts=()
# replaces=()
# backup=()
# options=()
# install=
# changelog="http://git.entwicklerseite.de/qspacestatus/log/?showmsg=1" (must be local)
#source=("$pkgname-$pkgver.tar.gz"
#        "$pkgname-$pkgver.patch")
source=("http://git.entwicklerseite.de/qspacestatus/snapshot/qspacestatus-master.tar.gz")
noextract=()
md5sums=(6ecd887bb6c1780254a0be543a37a55b)
validpgpkeys=()

# prepare() {
#        cd "$pkgname-$pkgver"
#        patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
# }

build() {
        # cd "$pkgname-$pkgver"
        # wget http://git.entwicklerseite.de/qspacestatus/snapshot/qspacestatus-master.tar.gz
        cd qspacestatus-master/
        qmake .
        # ./configure --prefix=/usr/local
        make
}

# check() {
#        cd "$pkgname-$pkgver"
#        make -k check
# }

package() {
        # cd "$pkgname-$pkgver"
        cd qspacestatus-master/
        mkdir -p $pkgdir/usr/local/bin
        install -m 755 -p qspacestatus $pkgdir/usr/local/bin
        mkdir -p $pkgdir/usr/local/share/applications
        install -m 755 -p share/xdg/qspacestatus.desktop $pkgdir/usr/local/share/applications
        make DESTDIR="$pkgdir/" install
}
..