blob: 4b199f25012bde7bf1bd8dd716b6312a3e150383 (
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
42
43
44
45
46
47
48
49
|
# Maintainer: Vesa-Pekka Tuomaala <vesku.tuomaala@gmail.com>
# Contributor: Alberto Sánchez Molero <alsamolero@gmail.com>
pkgname=kitsas
_reponame=kitupiikki
pkgver=5.7
_repover="${pkgver//_/-}"
pkgrel=1
epoch=
pkgdesc="Finnish bookkeeping software for small organisations"
arch=('x86_64')
url="https://kitsas.fi/"
license=('GPL3')
groups=()
depends=('qt6-base' 'qt6-webengine' 'qt6-svg' 'qt6-5compat' 'libzip')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(
"https://github.com/artoh/$_reponame/archive/v$_repover.tar.gz"
)
noextract=()
sha256sums=('4f470757e3199c15b624a7f28fb5c6e8662ae9d690021e849586c7c1a55fdb43')
validpgpkeys=()
prepare() {
cd "$_reponame-$_repover"
}
build() {
cd "$_reponame-$_repover/$pkgname"
qmake6 $pkgname.pro -spec linux-g++ "CONFIG+=release"
make
}
package() {
cd "$_reponame-$_repover/$pkgname"
install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm644 ../$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 ../$pkgname.png "$pkgdir/usr/share/icons/$pkgname.png"
}
|