blob: 5b1345603f85539d05c71f02d33e1e17f6f8bc80 (
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
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Notify-ctrl <notify-ctrl@qq.com>
pkgname=freekill
_upper_pkgname=FreeKill
pkgver=0.5.0
pkgrel=1
arch=('x86_64')
url='https://github.com/Notify-ctrl/FreeKill'
license=('GPL3')
pkgdesc='A Bang-like card game'
depends=('qt6-declarative' 'qt6-multimedia' 'qt6-5compat'
'qt6-shadertools' 'libgit2' 'lua' 'sqlite' 'openssl'
'readline' )
makedepends=('cmake' 'qt6-tools' 'swig' 'clang')
source=("${url}/releases/download/v${pkgver}/FreeKill-${pkgver}-source.tar.gz")
sha256sums=('c5b22ee94610eda80839a37c7e42c6c2530e30670bf9b99f605d4357f53132ea')
prepare() {
cd ${srcdir}/${_upper_pkgname}-${pkgver}
rm -rf build
}
build() {
cd ${srcdir}/${_upper_pkgname}-${pkgver}
mkdir build && cd build
cmake ..
make
}
package() {
mkdir -p ${pkgdir}/usr/share/${_upper_pkgname}
mkdir -p ${pkgdir}/usr/share/icons
mkdir -p ${pkgdir}/usr/share/applications
mkdir -p ${pkgdir}/usr/bin
mkdir -p ${pkgdir}/usr/lib
cd ${srcdir}/${_upper_pkgname}-${pkgver}
cmake --install build --prefix ${pkgdir}/usr --config Release
install -Dm644 image/icon.png ${pkgdir}/usr/share/icons/freekill_logo.png
install -Dm644 freekill.desktop ${pkgdir}/usr/share/applications/freekill.desktop
}
|