summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f4cffc2f398aa72a0e200d95cab369bb574362be (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
# Maintainer: Luna Nieves <aicaya@posteo.net>

pkgname=q5go
pkgrel=1
pkgver=2.0
pkgdesc="SGF editor and IGS client for Go players"
arch=('x86_64')
url='https://github.com/bernds/q5Go'
license=('GPL')
depends=('qt5-multimedia' 'qt5-svg')
makedepends=('git')
optdepends=('pandoc: make dependency, add README to menu options')
source=("https://github.com/bernds/q5Go/archive/q5go-$pkgver.tar.gz"
        "q5go.desktop")
sha256sums=('993777c02fbab136c12f9de2bc27178edfd10c070d57cf1dd7151b676c6b8a90'
            '11c3490e0dd8613465672f4b74b19ee2329944618f566e908d0b0936064f8a69')

build() {
    mkdir "q5Go-$pkgname-$pkgver/build"
    cd "q5Go-$pkgname-$pkgver/build"
    qmake-qt5 ../src/q5go.pro PREFIX=/usr
    make
}

package() {
    cd "q5Go-$pkgname-$pkgver/build"
    make INSTALL_ROOT="${pkgdir}" install
    install -Dm644 "${srcdir}/$pkgname.desktop" "${pkgdir}/usr/share/applications/$pkgname.desktop"
}