blob: 384f5e1e84b56c15c3f10e902e5e7ee42194ab54 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Anysets<anysets@qq.com>
pkgname=amber-ce-bookworm
pkgver=12.4.14.2
pkgrel=1
pkgdesc="a container app packaging and distributing solution."
arch=('aarch64' 'x86_64' 'loong64')
url="https://gitee.com/amber-ce/amber-ce-bookworm"
license=('unknown')
depends=('bubblewrap'
'xdg-desktop-portal'
'flatpak'
'zenity'
'gcc'
'dpkg'
'debootstrap'
'procps-ng')
install=amber-ce-bookworm.install
source=("$pkgname-$pkgver.tar.gz::https://gitee.com/amber-ce/amber-ce-bookworm/repository/archive/${pkgver}.tar.gz")
sha256sums=('66213c04e260ec934863e60bc628c988e289058244e4a101c8f989f16d5cedea')
package() {
cp -rf ${srcdir}/amber-ce-bookworm-${pkgver}/src/opt ${pkgdir}/
cp -rf ${srcdir}/amber-ce-bookworm-${pkgver}/src/etc ${pkgdir}/
cp -rf ${srcdir}/amber-ce-bookworm-${pkgver}/src/usr ${pkgdir}/
cd "${pkgdir}/opt/apps/cn.flamescion.bookworm-compatibility-mode/files"
if [ "$CARCH" = "aarch64" ]
then
bash build-container.sh arm64
elif [ "$CARCH" = "x86_64" ]
then
bash build-container.sh amd64
elif [ "$CARCH" = "loong64" ]
then
bash build-container.sh loong64
else
echo "Unsupported arch!"
fi
}
|