summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2596050dc025a3032091539c19b1989f70793251 (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
# Maintainer: Fabien LEFEBVRE <contact@d1ceward.com>
# Contributor: Faustino Aguilar <faustinoaq.github.io>

pkgname=mint
pkgver=0.13.1
pkgrel=5
pkgdesc='A refreshing language for the front-end web'
arch=('x86_64')
url='https://github.com/mint-lang/mint'
license=('BSD')
makedepends=('shards')
source=("mint-${pkgver}::https://github.com/mint-lang/mint/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('35d1943d8deab5240471565ad90b0d26fe343baa69950ee87e03cfea61822f35')

build() {
  cd "mint-${pkgver}"

  /usr/bin/shards build --progress --release
}

package() {
  cd "mint-${pkgver}"
  install -Dm755 "bin/mint" "${pkgdir}/usr/bin/mint"
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/mint/LICENSE"
}