aports/data/homepage/APKBUILD

28 lines
768 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
. ../APKBUILD-data.template
pkgver=2024.03.14.01
pkgrel=0
_commit="44b3d1c3c825a311c7e5071b553de312217ca922"
url="https://git.redxen.eu/RedXen/Homepage"
makedepends="nodejs-less"
source="https://git.redxen.eu/RedXen/Homepage/archive/$_commit.tar.gz"
builddir="$srcdir/homepage"
_rx_fperm=444 # Public, static resources
build() {
lessc css/main.less > css/main.css
}
package() {
mkdir -p "$(rx_cpkgdir)"/usr/share/redxen
mv "$builddir" "$(rx_cpkgdir)"/usr/share/redxen/homepage
}
sha512sums="
78bd9e7f651c05b2058c8874101a6ff6a88432f212ea53c66ec2873d3c508f8eb6ff8a362fe59fd1df5dc9eecd682afc71f35473f7d37fbb4456916d70936fb5 44b3d1c3c825a311c7e5071b553de312217ca922.tar.gz
"