electron9: init at 9.4.1
This commit is contained in:
parent
97b7f740e0
commit
9d9fc404d6
37
sakamoto/electron9/APKBUILD
Normal file
37
sakamoto/electron9/APKBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||||
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
||||
pkgname=electron9
|
||||
pkgver=9.4.1
|
||||
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"
|
||||
makedepends=""
|
||||
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/"
|
||||
|
||||
build() {
|
||||
zstd -d $(realpath $_filename) -o package.tar
|
||||
mkdir -p "$builddir"
|
||||
tar xf package.tar -C "$builddir"
|
||||
}
|
||||
|
||||
package() {
|
||||
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"
|
||||
|
||||
rm "$builddir"/*.plist
|
||||
|
||||
mkdir -p "$pkgdir"
|
||||
cp -r "$builddir"/* "$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="b9cedb30754ad817172469a39a88c722e5eef0762c5155ec1e7a30363d67b8dbb1a2ac06415cdb96561cd22e08e898412e228ba97d5c69a7a663c3f488806882 electron9-9.4.1_1.x86_64-musl.xbps"
|
Loading…
Reference in a new issue