summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8eaf966a3a236de69f8c3c34585b869afe8cec86 (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
pkgname=isleward
pkgver=0.12
pkgrel=1
pkgdesc="The moddable, multiplayer roguelike."
arch=('i686' 'x86_64')
url="https://gitlab.com/Isleward/isleward"
license=('custom')
depends=(npm)
optdepends=()
source=('git+https://gitlab.com/Isleward/isleward.git')
md5sums=('SKIP')


build (){
   cd "${srcdir}/${pkgname}/src/server/"
   npm install
}


package() {
    mkdir -p "${pkgdir}/opt/${pkgname}"
    cd "${srcdir}/${pkgname}/src/server/"
    mv * "${pkgdir}/opt/${pkgname}/"
}