]> git.sev.monster Git - aports.git/blob - testing/ariang/APKBUILD
testing/mympd: upgrade to 10.3.0 beta
[aports.git] / testing / ariang / APKBUILD
1 # Contributor: sev <alpine@sev.monster>
2 # Maintainer: sev <alpine@sev.monster>
3 pkgname=ariang
4 pkgname_=AriaNg
5 pkgver=1.2.4
6 pkgrel=0
7 pkgdesc="A modern web frontend making aria2 easier to use."
8 url="https://github.com/mayswind/AriaNg"
9 arch="noarch"
10 license="MIT"
11 makedepends="libstdc++ coreutils curl"
12 source="https://github.com/mayswind/$pkgname_/archive/$pkgver/$pkgname_-$pkgver.tar.gz"
13 builddir="$srcdir/$pkgname_-$pkgver"
14 # no test suite
15 options="!check"
16
17 build() {
18         export NVM_DIR="$builddir/.nvm"
19         mkdir "$NVM_DIR"
20         curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | sh
21         . "$NVM_DIR/nvm.sh"
22         export NVM_NODEJS_ORG_MIRROR=https://unofficial-builds.nodejs.org/download/release
23         nvm_get_arch() { nvm_echo x64-musl; }
24         nvm install 10.23
25         npm install
26         npx browserslist@latest --update-db
27         ./node_modules/gulp/bin/gulp.js clean build
28 }
29
30 package() {
31         mkdir -p "$pkgdir/usr/share/webapps"
32         cp -a dist "$pkgdir/usr/share/webapps/$pkgname"
33 }
34 sha512sums="
35 15d9902a1d894cad3ef0fc7de40701f1a419d563b1a81a9f010a06bec93d3d01b2320d0a0c5e4ed10c8951febf1ed42af361560c3d12a051fd14ed7716bf29a3  AriaNg-1.2.4.tar.gz
36 "
This page took 0.046451 seconds and 4 git commands to generate.