blob: f9b8c75b4e3d189dbc6590e87059904bfd2ef4da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Maintainer: Marcus Hoffmann <bubu@bubu1.eu>
# Contributor: Optize sp. z o.o. <hello@optize.pl>
pkgname=swagger-ui
pkgver=5.10.3
pkgrel=1
pkgdesc="Collection of web assets that dynamically generate beautiful documentation from a Swagger-compliant API."
arch=('any')
url='https://swagger.io/swagger-ui/'
license=('Apache')
source=("https://github.com/swagger-api/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('971873ad93256f2017294cd7c541b7bf2d976d7273e6ac8e13f518bae68e56f1')
package() {
cd "${srcdir}/${pkgname}-${pkgver}/dist"
mkdir -p "${pkgdir}/usr/share/webapps/${pkgname}"
cp -r * "${pkgdir}/usr/share/webapps/${pkgname}"
}
|