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.10.01
pkgrel=0
_commit="520af353657053cf61a558e8c90cd4e1c52d5141"
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="
264187f295613522f0fcee5349d64bdfa2109d79947fa8c6ddd231e873cc2c963eea8587c6ac906eb67f0848bc45dc973f7cb9b4da078088e60a5673852de394 520af353657053cf61a558e8c90cd4e1c52d5141.tar.gz
"