~mser/pkg.mser.at

ref: 55fbb3a16b404521a907470c5e7a0095f049f83c pkg.mser.at/packages/qcomix/PKGBUILD -rw-r--r-- 653 bytes
55fbb3a1Michael Serajnik Update package qcomix a month ago
                                                                                
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"
}