summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d9c2b096f74043da078f0afedb0b33a3648c845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Kedap <kedap dot dev at protonmail dot com>
pkgname=toml-fmt
pkgver=0.1.0
pkgrel=1
pkgdesc="Format .toml files"
arch=('any')
url="https://github.com/segeljakt/toml-fmt"
license=('MIT')
depends=()
source=("git+https://github.com/segeljakt/${pkgname}.git")
md5sums=('SKIP')

build() {
	cd "$pkgname"
        cargo build --release
}

package() {
	cd "$pkgname"
        install -Dm 755 "target/release/$pkgname" "$pkgdir"/usr/bin/$pkgname
}