summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b93a1807eced99d40fff07d73e08067ad5efa6c (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
# Maintainer: Monjaris ziyanovruzlu750@gmail.com
pkgname=dotty
pkgver=0.6.7
pkgrel=8
pkgdesc="Dotfiles and config manager with profiles, written in C++"
arch=('x86_64')
url="https://github.com/Monjaris/dotty"
license=('GPL-3.0-or-later')
source=("dotty-${pkgver}.tar.gz::https://github.com/Monjaris/dotty/archive/refs/tags/v${pkgver}.tar.gz")

depends=(
  'cli11'
  'git'
  'github-cli'
  'readline'
  'bat'
)

makedepends=(
  'xmake'
)

sha256sums=('2c3e58d55c7c7fcdc333ceeca64530699249ab3a2107fe831d93b15cc97fd391')

build() {
    cd "$srcdir/dotty-${pkgver}"
    xmake config -m release
    xmake build -j$(nproc) dotty
}

package() {
    cd "$srcdir/dotty-${pkgver}"
    install -Dm755 build/linux/x86_64/release/dotty "$pkgdir/usr/bin/dotty"
}