summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dcaae6d9286532a2d685ee383842d5cd5454a46a (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
# Maintainer: <waruqi@gmail.com>
# PKGBuild Create By: lumpyzhu <lumpy.zhu@gmail.com>

pkgname=xmake
pkgver=2.7.4
pkgrel=2
pkgdesc="A cross-platform build utility based on Lua"
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/xmake-io/xmake"
license=('Apache')
makedepends=('ncurses' 'readline')
source=("https://github.com/xmake-io/xmake/releases/download/v${pkgver}/xmake-v${pkgver}.tar.gz")
sha256sums=('d490ff8825fa53fe5abfb549310cb54a2dfef1ebd3f82e24548483772994e06a')

build() {
    cd "$srcdir"
    ./configure
    make
}

package() {
    cd "$srcdir"
    make install PREFIX="${pkgdir}/usr"
}