~mser/pkg.mser.at

ref: 81de882c376018627dbb78dd98616e0be1564c2b pkg.mser.at/packages/qcomix/PKGBUILD -rw-r--r-- 653 bytes
81de882cMichael Serajnik Fix SHA512 checksum in unshare-net PKGBUILD 2 months 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.0b5
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.0b5")
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"
}