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=2021.06.01.03
pkgrel=0
_commit="8dcae275e38e3e5a6ca3394234e1c8ec4e202f43"
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="
89a67718320180faf2ae332eca4e0fd0810efb01799e20b4ae563d98eeee35ee3a64035ab4a9f13a296cb5bfd0e087e9368294400a5350da9bae3a70914ee469 8dcae275e38e3e5a6ca3394234e1c8ec4e202f43.tar.gz
"