blob: d7a555c3f4a807386f85ecd09a7fdf995fd0299f (
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: <[email protected]>
# PKGBuild Create By: lumpyzhu <[email protected]>
pkgname=xmake
pkgver=2.7.5
pkgrel=1
pkgdesc="A cross-platform build utility based on Lua"
depends=('bash')
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=('3e71437ad2a59d1fbbc9fba75ab4ca8d428c49beefcce86c11f6c4710dd4b6f2')
build() {
cd "${_realname}-${pkgver}"
./configure
make
}
package() {
cd "${_realname}-${pkgver}"
make install DESTDIR="${pkgdir}" PREFIX="usr"
}
|