diff options
author | Fabien LEFEBVRE | 2021-06-18 11:18:50 +0200 |
---|---|---|
committer | Fabien LEFEBVRE | 2021-06-18 11:18:50 +0200 |
commit | fe30f26dc47499ace05e8926b574cb4a563bf28a (patch) | |
tree | a8be22859f3c278a93900ca4431721904cb2f106 /PKGBUILD | |
parent | 111f228fc8df0650bb86785ae888d7129237b9dc (diff) | |
download | aur-fe30f26dc47499ace05e8926b574cb4a563bf28a.tar.gz |
upgpkg: mint 0.13.1-4
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -3,7 +3,7 @@ pkgname=mint pkgver=0.13.1 -pkgrel=3 +pkgrel=4 pkgdesc='A refreshing language for the front-end web' arch=('x86_64') url='https://github.com/mint-lang/mint' @@ -14,11 +14,16 @@ sha256sums=('35d1943d8deab5240471565ad90b0d26fe343baa69950ee87e03cfea61822f35') build() { cd "mint-${pkgver}" - PATH="/usr/bin" shards build --stats --progress --time --release --no-debug + + # Force path location to avoid conflict with crystal version managers (crenv, ...) + PATH="/usr/bin" + + shards install + crystal build --stats --progress --time --release --no-debug src/mint.cr } package() { cd "mint-${pkgver}" - install -Dm755 "bin/mint" "${pkgdir}/usr/bin/mint" + install -Dm755 mint "${pkgdir}/usr/bin/mint" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/mint/LICENSE" } |