alist-web: drop

This commit is contained in:
Puqns67 2024-05-27 10:59:03 +08:00
parent 85e5510bb7
commit 6ba8da0014
Signed by: Puqns67
GPG Key ID: 9669DF042554F536
2 changed files with 0 additions and 56 deletions

View File

@ -1,14 +0,0 @@
pkgbase = alist-web
pkgdesc = A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs.
pkgver = 3.34.0
pkgrel = 1
url = https://github.com/alist-org/alist-web
arch = any
license = AGPL-3.0-or-later
makedepends = pnpm
source = alist-web-3.34.0.tar.gz::https://github.com/alist-org/alist-web/archive/refs/tags/3.34.0.tar.gz
source = solid_router-f77b206e8592bb56d2d001e9488de5a54a13699b.tar.gz::https://github.com/alist-org/solid-router/archive/f77b206e8592bb56d2d001e9488de5a54a13699b.tar.gz
b2sums = 630fb3024cca6400ff5f6d9e5c584c98b4c39789be0944f9b04607fe94b8f51c11b1c8509ffd6278292007602a4a07f1a4185f9c3dcf6547067e99cf37d53adb
b2sums = 0678eafed0908109fda831cbdeccb676e212960bdec0ad062064415566c8f11076bf3a706a1719b21d238dccbaa96e47cb5d265f4d7e5f21f2bd4f5a1e1296f9
pkgname = alist-web

View File

@ -1,42 +0,0 @@
# Maintainer: Puqns67 <me@puqns67.icu>
_organization_url='https://github.com/alist-org'
_solid_router_git_hash='f77b206e8592bb56d2d001e9488de5a54a13699b'
pkgname='alist-web'
pkgver=3.34.0
pkgrel=1
pkgdesc='A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs.'
url="${_organization_url}/${pkgname}"
license=('AGPL-3.0-or-later')
arch=('any')
makedepends=('pnpm')
source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/${pkgver}.tar.gz"
"solid_router-${_solid_router_git_hash}.tar.gz"::"${_organization_url}/solid-router/archive/${_solid_router_git_hash}.tar.gz")
b2sums=('630fb3024cca6400ff5f6d9e5c584c98b4c39789be0944f9b04607fe94b8f51c11b1c8509ffd6278292007602a4a07f1a4185f9c3dcf6547067e99cf37d53adb'
'0678eafed0908109fda831cbdeccb676e212960bdec0ad062064415566c8f11076bf3a706a1719b21d238dccbaa96e47cb5d265f4d7e5f21f2bd4f5a1e1296f9')
prepare() {
# Move solid-router to sources.
rm -rfv "${srcdir}/${pkgname}-${pkgver}/solid-router"
mv -v "${srcdir}/solid-router-${_solid_router_git_hash}" "${srcdir}/${pkgname}-${pkgver}/solid-router"
# Update version with $pkgver.
sed -ie "s/0.0.0/${pkgver}/g" "${srcdir}/${pkgname}-${pkgver}/package.json"
# Install dependencies
cd "${srcdir}/${pkgname}-${pkgver}"
HUSKY=0 pnpm install
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
pnpm build
}
package() {
install -dm755 "${pkgdir}/usr/share"
cp -rv "${srcdir}/${pkgname}-${pkgver}/dist" "${pkgdir}/usr/share/${pkgname}"
}