blob: e4ecf33f09567f7f0f7c3a1558efafacfd6f743f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
pkgname=libelectron
pkgver=1.0.27
pkgrel=1
arch=("x86_64" "aarch64")
url="https://gitlab.com/linuxbombay/libelectron/libelectron"
license=('GPL')
depends=('npm' 'git' 'icu')
pkgdesc="A collection of npm dependencies for electron packages."
makedepends=('unzip')
source=("$url/-/archive/$pkgver/libelectron-$pkgver.tar.bz2")
sha256sums=('be87360bdf70ee5b7ee627391355daa139841f3660fb650f5f2fdfcfd2f2c505')
package() {
for dir in $pkgname-$pkgver ; do mv "${dir}" "$pkgname" ;done
cd "$srcdir/$pkgname"
./setup
install -dm755 "$pkgdir/opt/libelectron"
cp -r "$srcdir/libelectron/node_modules" "$pkgdir/opt/libelectron"
}
|