aports/data/homepage/APKBUILD

30 lines
865 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-data-homepage
pkgver=2021.05.03
pkgrel=0
_commit="8dcae275e38e3e5a6ca3394234e1c8ec4e202f43"
pkgdesc="Homepage files"
url="https://git.redxen.eu/RedXen/Homepage"
arch="noarch"
license="none"
makedepends="nodejs-less"
options="!check" # No checks possible
source="
https://git.redxen.eu/RedXen/Homepage/archive/$_commit.tar.gz
"
builddir="$srcdir/homepage"
build() {
lessc css/main.less > css/main.css
}
package() {
mkdir -p "$pkgdir"/usr/share/redxen
mv "$builddir" "$pkgdir"/usr/share/redxen/homepage
chown -Rv root:www-data "$pkgdir"/usr/share/redxen/homepage
}
sha512sums="89a67718320180faf2ae332eca4e0fd0810efb01799e20b4ae563d98eeee35ee3a64035ab4a9f13a296cb5bfd0e087e9368294400a5350da9bae3a70914ee469 8dcae275e38e3e5a6ca3394234e1c8ec4e202f43.tar.gz"