summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a75d2718995e63689464642c02c37c2b08680259 (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: David Li <davidtianli@gmail.com>
pkgname=pax-mc
pkgver=1.6.0
pkgrel=2
pkgdesc="The MC modpack manager for professionals."
arch=('x86_64')
url="https://github.com/froehlicha/pax"
license=('MIT')
makedepends=('git' 'nim' 'nimble')
provides=('pax-mc')
conflicts=('pax-mc-bin' 'pax-mc-git')
replaces=()
changelog=
source=("pax-${pkgver}.tar.gz::https://github.com/froehlichA/pax/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('3dcc59e10125e0e1ae49bbe22a194cd7350351ba5bb8d0ba938732833c6656e4')

build() {
    cd "${srcdir}/pax-${pkgver}"
    echo "y" | nimble build --nimbleDir:"${srcdir}/nimble" -d:ssl
}

package() {
    install -d -m755 "${pkgdir}/usr/bin"
    install -m755 "${srcdir}/pax-${pkgver}/pax" "${pkgdir}/usr/bin/pax"
}