summaryrefslogtreecommitdiff
path: root/scripts/archlinux/PKGBUILD
blob: 37e7585fae82cf49024199d2ff467c1e89dfbf05 (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: <[email protected]>
# PKGBuild Create By: lumpyzhu <[email protected]>

pkgname=xmake
pkgver=2.7.1
pkgrel=1
pkgdesc="A cross-platform build utility based on Lua"
depends=('bash')
arch=('i686' 'x86_64')
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=('5b50e3f28956cabcaa153624c91781730387ceb7c056f3f9b5306b1c77460d8f')

build() {
    cd "$srcdir"
    make build
}

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