31 lines
963 B
Plaintext
31 lines
963 B
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
pkgname=redxen-data-cherry-gmod
|
|
pkgver=2020.12.29
|
|
pkgrel=0
|
|
_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"/usr/share/redxen/homepage/pub
|
|
mv "$builddir" "$pkgdir"/usr/share/redxen/homepage/pub/cherry
|
|
chown -Rv root:www-data "$pkgdir"/usr/share/redxen/homepage
|
|
}
|
|
|
|
|
|
sha512sums="e1ef7fcc271766493f2011aaeb614db55019015d1274552ec7f326c209bcf57f47f704a2f0149fdc43c6c1926717fadceed4b1ff5228c3598280ba485ce342f3 ae7a7a01579178da91bb176e744d3d90d9b2e484.tar.gz"
|