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.03.30
pkgrel=0
_commit="eb8e02ade1127eba06b7a46c1f1e6b41ab8cc8b4"
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="25aa4e85da73eff9ba0f55299f13eb8de6030015beaf190eb679fdc2a4dbb7a18f0eda6d076b29cfb76f737a4dad0863380aa53d1a9277b677b165f5b2bfd7c5 eb8e02ade1127eba06b7a46c1f1e6b41ab8cc8b4.tar.gz"