blob: 87786041d751b366876950203069dcf938f73f2b (
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
|
# Maintainer: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
# Generated by debtap then manually modified
pkgname=classin-bin
_pkgname=classin
pkgver=6.0.0.4987
pkgrel=1
pkgdesc="Proprietary remote classroom application by EEO."
arch=('x86_64')
url="https://www.eeo.cn/cn/classin"
license=('unknown')
depends=('alsa-lib')
options=('!strip' '!emptydirs')
install=${pkgname}.install
source_x86_64=("${_pkgname}-${pkgver}.deb::https://www.eeo.cn/download/client/${_pkgname}_${pkgver}_amd64.deb")
sha512sums_x86_64=('2510c772765a4a6e788dbb651999fdc725c1be14aaa35d097213bed82bff6584e5b559798d61ea766712e0587f89c121353fd409e5a2e89c8b56530e7a14261e')
package(){
tar -xJ --no-same-owner -f data.tar.xz -C "${pkgdir}"
# HACK: Debian compatibility symlink
# ClassIn binary links several files in /usr/lib/x86_64-linux-gnu, which is
# invalid on Arch. I tried examining the binary using `patchelf`, `ldd`, and
# `strings`, but couldn't figure out how it's linked. In lieu of a proper fix,
# this makeshift solution will do for now.
mkdir -p "${pkgdir}/usr/lib"
ln -sf /usr/lib "${pkgdir}/usr/lib/x86_64-linux-gnu"
}
|