summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 129f97396b752de38f97f751fe43eab034279f64 (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
pkgname=qcomix
pkgver=1.0.0b6
pkgrel=1
pkgdesc="Qt-based comic viewer."
arch=('i686' 'x86_64')
url="https://gitgud.io/qcomix/qcomix.git"
depends=('qt5-base' 'quazip')
makedepends=('cmake' 'qt5-tools' 'qt5-base')
provides=('qcomix')
source=("$pkgname"::"git+https://gitgud.io/qcomix/qcomix.git#tag=1.0b6")
sha512sums=('SKIP')

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

package() {
 cd "$srcdir/$pkgname"
 DESTDIR="$pkgdir" make install
 install -Dm644 "icon.png" "${pkgdir}/usr/share/icons/qcomix.png"
 install -Dm644 "qcomix.desktop" "${pkgdir}/usr/share/applications/qcomix.desktop"
}