electron10: init at 10.4.3
This commit is contained in:
parent
b7a473f273
commit
33904b8e84
37
sakamoto/electron10/APKBUILD
Normal file
37
sakamoto/electron10/APKBUILD
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
|
pkgname=electron10
|
||||||
|
pkgver=10.4.3
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Cross platform application development framework based on web technologies"
|
||||||
|
url="https://electronjs.org"
|
||||||
|
arch="x86_64"
|
||||||
|
license="BSD-3-Clause"
|
||||||
|
depends="re2 sndio-libs opus ffmpeg-libs libwebp libxscrnsaver snappy libxslt flac"
|
||||||
|
makedepends="zstd tar"
|
||||||
|
install=""
|
||||||
|
subpackages="$pkgname-dev $pkgname-doc"
|
||||||
|
_filename="$pkgname-${pkgver}_1.x86_64-musl.xbps"
|
||||||
|
source="https://alpha.de.repo.voidlinux.org/current/musl/$_filename"
|
||||||
|
builddir="$srcdir/tmp"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
zstd -d $(realpath $_filename) -o package.tar
|
||||||
|
mkdir -p "$builddir"
|
||||||
|
tar xf package.tar -C "$builddir"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
rm "$builddir"/*.plist
|
||||||
|
|
||||||
|
sndio="$(find /usr/lib -type f -name 'libsndio.so.*')"
|
||||||
|
ln -s "${sndio}" "${builddir}/usr/lib/libsndio.so.7"
|
||||||
|
|
||||||
|
re2="$(find /usr/lib -type f -name 'libre2.so.*')"
|
||||||
|
ln -s "${re2}" "${builddir}/usr/lib/libre2.so.7"
|
||||||
|
|
||||||
|
mkdir -p "$pkgdir"
|
||||||
|
cp -r "$builddir"/* "$pkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="0ab6c80af5c36de036e314864948aa5325b560e62258a647d8600ee0336f7a91d70489722f648c1c53d0142f8e6742abd901fa8c49e5f070464889b0abaca537 electron10-10.4.3_1.x86_64-musl.xbps"
|
Loading…
Reference in a new issue