summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 783fc7443c559ba09ee5deccc5666daf5ae7c60c (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
# Maintainer: Thomas Rijpstra <thomas at fourlights dot nl>

_pkgname=kanri
pkgname=kanri-bin
pkgver=0.8.0
pkgrel=2
pkgdesc="Modern offline Kanban board app using tauri"
arch=('x86_64')
url="https://github.com/kanriapp/kanri"
license=('GPL-3.0-or-later')
depends=('webkit2gtk')
makedepends=('binutils')  # 'ar' is part of the binutils package
source=("${_pkgname}_${pkgver}.deb::https://github.com/kanriapp/kanri/releases/download/app-v${pkgver}/${_pkgname}_${pkgver}_amd64.deb" "kanri-wrapper.sh")
sha256sums=('2167ee75c66d8ed1d7a6c8455ec2c7e86fc696c3ba3b9bfdc1f6e50092882d89'
            '02d85b8954fe86c43b1d3b5567ee7683238a5c766d0b3d59b7ba0d5812f37906')

prepare() {
    ar x "${srcdir}/${_pkgname}_${pkgver}.deb"
    tar xf data.tar.gz
}

package() {
    install -Dm755 "${srcdir}/kanri-wrapper.sh" "${pkgdir}/usr/bin/kanri"
    install -Dm755 "${srcdir}/usr/bin/kanri" "${pkgdir}/usr/lib/kanri"

    cp -r "${srcdir}/usr/share" "${pkgdir}/usr/share"
}