mirror of
https://github.com/ptitSeb/box64.git
synced 2024-11-27 00:30:32 +00:00
b3b84f8357
* Latest batch of PKGBUILD updates - New platforms added - Combined PKGBUILD for all Raspberry Pi devices - Combined PKGBUILD for all RockChip devices * Fixes - Fix arch in rv64 and x86_64 - Remove la64 since arch linux not available for platform * No LARCH64 PKGBUILD
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# Maintainer: Jai-JAP <jai.jap.318@gmail.com>
|
|
# Author: Sebastien Chevalier <ptitseb@box86.org>
|
|
pkgname=box64-x64-git
|
|
pkgver=r2431.60c6858
|
|
pkgrel=1
|
|
pkgdesc="Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices."
|
|
arch=('x86_64')
|
|
url="https://github.com/ptitSeb/box64"
|
|
license=('MIT')
|
|
makedepends=('git' 'cmake' 'make')
|
|
provides=("${pkgname%-git}" "${pkgname%-x64-git}-git" "${pkgname%-x64-git}")
|
|
conflicts=("${pkgname%-git}" "${pkgname%-x64-git}-git" "${pkgname%-x64-git}")
|
|
source=('git+https://github.com/ptitSeb/box64')
|
|
md5sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd "${srcdir}/${pkgname%-x64-git}"
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
}
|
|
|
|
prepare() {
|
|
cd "${srcdir}/${pkgname%-x64-git}"
|
|
[[ ! -d ./build ]] && mkdir build
|
|
cmake -B build -DLD80BITS=1 -DNOALIGN=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname%-x64-git}/build"
|
|
make -j$(nproc)
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname%-x64-git}/build"
|
|
make DESTDIR="${pkgdir}/" install
|
|
}
|