summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1f1da8040f879fa4e4be6c20f3a98bc69294171a (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
# Maintainer: Sabu Siyad <hello@ssiyad.com>
# This PKGBUILD is maintained at https://github.com/ssiyad/pkgbuilds/

pkgname=victor
pkgver=0.4
pkgrel=2
pkgdesc="Command line tool to log activities and measure time spent"
arch=('x86_64')
url="https://github.com/ssiyad/victor"
makedepends=(
    "git"
    "nimble"
)
provides=("victor")
source=(
    "git+https://github.com/ssiyad/victor#tag=$pkgver"
)
sha256sums=("SKIP")

build() {
    cd $srcdir/$pkgname
    nimble build -d:release
}

package() {
    cd $srcdir/$pkgname
    install -D $pkgname $pkgdir/usr/local/bin/$pkgname
    install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}