summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 060f22173869dfe3f42d13759545b4e79f21cfeb (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
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: kagan <juanynie AT gmail DOT com>
# Contributor: Valheru <valheru AT facticius DOT net>
# Contributor: jackoneill

pkgname=qcomicbook
pkgver=0.9.1
pkgrel=1
pkgdesc="A reader of comic book archives"
url="https://github.com/stolowski/QComicBook"
arch=(i686 x86_64)
license=(GPL2)
depends=(qt5-x11extras poppler-qt5)
optdepends=('p7zip'
            'unace'
            'unrar'
            'rar')
makedepends=(cmake qt5-tools)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/stolowski/QComicBook/archive/$pkgver.tar.gz")
sha256sums=('39bb6ba0e20569985c930b0e8bdb19ae9c5453f27e9f7c01c6d44f56fb204619')

build() {
   cd "$srcdir/QComicBook-$pkgver"
   cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release  
   make
}

package() {
   cd "$srcdir/QComicBook-$pkgver"
   make DESTDIR="$pkgdir" install
}