summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 671e2719687848d2b27d521dc6b0a1a4c1522b4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Generated by debtap
# Maintainer: Jan Kohnert <bughunter@jan-kohnert.de>
# Contributor: Matthew Sexton <wsdmatty@gmail.com>
# Contributor: Lorenz Wellmer
pkgname=clockify-desktop
pkgver=2.0.2
pkgrel=2
pkgdesc="Truly free time tracker for teams, Desktop App"
arch=('x86_64')
url="https://clockify.me"
license=('custom')
depends=('gtk3' 'libxss' 'nss')
source=("$pkgname-$pkgver.deb::https://clockify-resources.s3.eu-central-1.amazonaws.com/downloads/Clockify_Setup.deb")
sha512sums=('b9f9b16a3e32c5efa775bb19aa7f2ee709cb02be9e15ee6b6f8135b3401641b393f80406752470b2e6dd9e72895d29de007efc1492979d8f2f709b8de9bfda6e')

package() {
    # Extract package data
    tar xf data.tar.xz -C "${pkgdir}"
    install -dm755 "${pkgdir}/usr/bin"
    ln -sf "/opt/Clockify/clockify" "${pkgdir}/usr/bin/clockify"
    install -D -m644 "${pkgdir}/opt/Clockify/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}