]> git.sev.monster Git - aports.git/blame - testing/ariang/APKBUILD
testing/web2ldap: bump pkgrel, add patch
[aports.git] / testing / ariang / APKBUILD
CommitLineData
be144bf2 1# Contributor: sev <sev+alpine@sev.monster>
2# Maintainer: sev <sev+alpine@sev.monster>
8ef53c4f 3pkgname=ariang
4pkgname_=AriaNg
5pkgver=1.2.4
6pkgrel=0
7pkgdesc="A modern web frontend making aria2 easier to use."
8url="https://github.com/mayswind/AriaNg"
9arch="noarch"
10license="MIT"
11makedepends="libstdc++ coreutils curl"
12source="https://github.com/mayswind/$pkgname_/archive/$pkgver/$pkgname_-$pkgver.tar.gz"
13builddir="$srcdir/$pkgname_-$pkgver"
14# no test suite
15options="!check"
16
17build() {
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
30package() {
31 mkdir -p "$pkgdir/usr/share/webapps"
32 cp -a dist "$pkgdir/usr/share/webapps/$pkgname"
33}
34sha512sums="
3515d9902a1d894cad3ef0fc7de40701f1a419d563b1a81a9f010a06bec93d3d01b2320d0a0c5e4ed10c8951febf1ed42af361560c3d12a051fd14ed7716bf29a3 AriaNg-1.2.4.tar.gz
36"
This page took 0.030669 seconds and 4 git commands to generate.