aports/data/cherry-gmod/APKBUILD

28 lines
807 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
. ../APKBUILD-data.template
pkgver=2021.06.01.03
pkgrel=0
_commit="ae7a7a01579178da91bb176e744d3d90d9b2e484"
url="https://git.redxen.eu/IPTG/GMOD-Loadscreen"
depends="redxen-config-nginx-homepage"
makedepends="nodejs-less"
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 "$(rx_cpkgdir)"/usr/share/redxen/homepage/pub
mv "$builddir" "$(rx_cpkgdir)"/usr/share/redxen/homepage/pub/cherry
}
sha512sums="
e1ef7fcc271766493f2011aaeb614db55019015d1274552ec7f326c209bcf57f47f704a2f0149fdc43c6c1926717fadceed4b1ff5228c3598280ba485ce342f3 ae7a7a01579178da91bb176e744d3d90d9b2e484.tar.gz
"