summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c859354b8b86e66e41d53001b588e64a8b2d4db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Hoàng Văn Khải <hvksmr1996@gmail.com>

pkgname='dprint-bin'
pkgver='0.9.1'
pkgrel='1'
pkgdesc='Pluggable and configurable code formatting platform written in Rust.'
arch=('x86_64')
url='https://dprint.dev/'
license=('custom')
source=(
  "https://github.com/dprint/dprint/releases/download/$pkgver/dprint-x86_64-unknown-linux-gnu.zip"
  'https://github.com/dprint/dprint/raw/master/LICENSE'
)
sha512sums=('SKIP' 'SKIP')

package() {
  install -Dm755 dprint "$pkgdir/usr/bin/dprint"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}