2020-12-18 20:50:42 +00:00
|
|
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
|
|
pkgname=redxen-data-cherry-gmod
|
2020-12-29 19:37:53 +00:00
|
|
|
pkgver=2020.12.29
|
|
|
|
pkgrel=0
|
2020-12-18 20:50:42 +00:00
|
|
|
_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"
|
2020-12-19 22:31:50 +00:00
|
|
|
makedepends="nodejs-less"
|
2020-12-18 20:50:42 +00:00
|
|
|
options="!check" # No checks possible
|
|
|
|
source="
|
|
|
|
https://git.redxen.eu/IPTG/GMOD-Loadscreen/archive/$_commit.tar.gz
|
|
|
|
"
|
2020-12-19 22:31:50 +00:00
|
|
|
builddir="$srcdir/gmod-loadscreen"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
lessc css/main.less > css/main.css
|
|
|
|
}
|
2020-12-18 20:50:42 +00:00
|
|
|
|
|
|
|
package() {
|
2020-12-29 19:37:53 +00:00
|
|
|
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
|
2020-12-18 20:50:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sha512sums="e1ef7fcc271766493f2011aaeb614db55019015d1274552ec7f326c209bcf57f47f704a2f0149fdc43c6c1926717fadceed4b1ff5228c3598280ba485ce342f3 ae7a7a01579178da91bb176e744d3d90d9b2e484.tar.gz"
|