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=2022.03.13.01
pkgrel=0
_commit="b41818e0f07675e511c61c231779fc5e7e254811"
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="
9c5befa33dce40dd8641b6b709cfd1942a2e43404188ee2c8386a6337d35aa6e257fd227bf26d664e1524766dba8ae8a617140c16e54b89386ee98ab8ed963ec b41818e0f07675e511c61c231779fc5e7e254811.tar.gz
"