summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4610fe969ebd92cc80be8a590376873d51392413 (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
# Maintainer: Stephen Brennan <smb196@case.edu>
pkgname=communi-desktop
pkgver=3.5.0
pkgrel=1
epoch=
pkgdesc="An IRC client for desktop environments."
arch=('x86_64' 'i686')
url="https://communi.github.io/"
license=('GPL')
groups=()
depends=('qt5-x11extras' 'qt5-multimedia' 'hicolor-icon-theme' 'xdg-utils' 'libcommuni')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=.INSTALL
changelog=
source=("communi-desktop-v$pkgver.tar.gz::https://github.com/communi/$pkgname/archive/v$pkgver.tar.gz"
        "communi-shared-v$pkgver.tar.gz::https://github.com/communi/communi-shared/archive/v$pkgver.tar.gz")
noextract=()
md5sums=("5fd5d87a9f4ecdce86a7004915b3f094"
         "1f23bf566b7f676e041c9bfaa458e014")
validpgpkeys=()

prepare() {
    cd "$pkgname-$pkgver"
    rmdir src/libs/base/shared
    mv "../communi-shared-$pkgver" src/libs/base/shared
}

build() {
	cd "$pkgname-$pkgver"
        qmake
	make
}

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

package() {
	cd "$pkgname-$pkgver"
	make INSTALL_ROOT="$pkgdir" install
}