aports/data/cherry-gmod/APKBUILD

31 lines
900 B
Plaintext
Raw Normal View History

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-data-cherry-gmod
pkgver=2020.12.19
pkgrel=1
_commit="ae7a7a01579178da91bb176e744d3d90d9b2e484"
pkgdesc="Cherry's loading screen files"
url="https://git.redxen.eu/IPTG/GMOD-Loadscreen"
arch="noarch"
license="none"
depends="redxen-config-nginx-homepage"
makedepends="nodejs-less"
options="!check" # No checks possible
source="
https://git.redxen.eu/IPTG/GMOD-Loadscreen/archive/$_commit.tar.gz
"
builddir="$srcdir/gmod-loadscreen"
build() {
lessc css/main.less > css/main.css
}
package() {
mkdir -p "$pkgdir"/http/pub
mv "$builddir" "$pkgdir"/http/pub/cherry
chown -Rv root:www-data "$pkgdir"/http
}
sha512sums="e1ef7fcc271766493f2011aaeb614db55019015d1274552ec7f326c209bcf57f47f704a2f0149fdc43c6c1926717fadceed4b1ff5228c3598280ba485ce342f3 ae7a7a01579178da91bb176e744d3d90d9b2e484.tar.gz"