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=2020.12.29
pkgrel=0
_commit="ccffc104aeb298b8192b6d3174d4f8d9cccd3f3c"
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="8da26bb626f7485cc8139befefe0452295c8ecc0a6a6fd4c5fcfbc7c605447f862d7fe561dfe68e3267efac7fd3aec36a4e7b517a363d201c9a0638b70e114d6 ccffc104aeb298b8192b6d3174d4f8d9cccd3f3c.tar.gz"