Modify PKGBUILD for sd8g2
Signed-off-by: Molly Sophia <mollysophia379@gmail.com>
This commit is contained in:
parent
d4910a72b8
commit
71093c15c4
8
.SRCINFO
8
.SRCINFO
@ -1,12 +1,10 @@
|
||||
pkgbase = box64-git
|
||||
pkgbase = box64-sd8g2-git
|
||||
pkgdesc = Linux Userspace x86_64 Emulator with a twist
|
||||
pkgver = v0.2.2.r2.g706ebc39
|
||||
pkgver = v0.2.6.r62.gdba6a883
|
||||
pkgrel = 1
|
||||
url = https://github.com/ptitSeb/box64
|
||||
install = box64-git.install
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
arch = riscv64
|
||||
license = MIT
|
||||
makedepends = git
|
||||
makedepends = cmake
|
||||
@ -19,4 +17,4 @@ pkgbase = box64-git
|
||||
sha256sums = SKIP
|
||||
sha256sums = 7e94518dbd11121f150a51b64f4c0ec11f844a83f7b15205d28c1de63de699f2
|
||||
|
||||
pkgname = box64-git
|
||||
pkgname = box64-sd8g2-git
|
||||
|
21
PKGBUILD
21
PKGBUILD
@ -1,11 +1,11 @@
|
||||
# Maintainer: Bart De Vries <bart at mogwai dot be>
|
||||
|
||||
_pkgname=box64
|
||||
_pkgname=box64-sd8g2
|
||||
pkgname=${_pkgname}-git
|
||||
pkgver=v0.2.2.r2.g706ebc39
|
||||
pkgver=v0.2.6.r62.gdba6a883
|
||||
pkgrel=1
|
||||
pkgdesc='Linux Userspace x86_64 Emulator with a twist'
|
||||
arch=('x86_64' 'aarch64' 'riscv64')
|
||||
arch=('aarch64')
|
||||
url='https://github.com/ptitSeb/box64'
|
||||
license=('MIT')
|
||||
install="box64-git.install"
|
||||
@ -29,16 +29,7 @@ build() {
|
||||
if [[ $CARCH == "aarch64" ]]; then
|
||||
cmake -B build -S . \
|
||||
-DARM_DYNAREC=ON \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
elif [[ $CARCH == "x86_64" ]]; then
|
||||
cmake -B build -S . \
|
||||
-DLD80BITS=1 -DNOALIGN=1 \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
elif [[ $CARCH == "riscv64" ]]; then
|
||||
cmake -B build -S . \
|
||||
-DRV64=1 \
|
||||
-DSD8G2=ON \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
fi
|
||||
@ -49,10 +40,6 @@ package() {
|
||||
cd ${_pkgname}/build
|
||||
if [[ $CARCH == "aarch64" ]]; then
|
||||
make DESTDIR=${pkgdir} install
|
||||
elif [[ $CARCH == "x86_64" ]]; then
|
||||
install -Dm755 box64 -t "${pkgdir}/usr/bin/"
|
||||
elif [[ $CARCH == "riscv64" ]]; then
|
||||
make DESTDIR=${pkgdir} install
|
||||
fi
|
||||
|
||||
install -Dm644 ../LICENSE -t "${pkgdir}/usr/share/licenses/${_pkgname}/"
|
||||
|
Loading…
Reference in New Issue
Block a user