aports/data/homepage/APKBUILD

28 lines
768 B
Plaintext
Raw Normal View History

2020-11-20 16:31:49 +00:00
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
. ../APKBUILD-data.template
2021-06-10 18:48:51 +00:00
pkgver=2021.06.10.01
2021-03-17 11:28:05 +00:00
pkgrel=0
2021-06-10 18:48:51 +00:00
_commit="520af353657053cf61a558e8c90cd4e1c52d5141"
2020-11-20 16:31:49 +00:00
url="https://git.redxen.eu/RedXen/Homepage"
2020-12-18 23:19:27 +00:00
makedepends="nodejs-less"
source="https://git.redxen.eu/RedXen/Homepage/archive/$_commit.tar.gz"
2020-12-18 23:19:27 +00:00
builddir="$srcdir/homepage"
_rx_fperm=444 # Public, static resources
2020-12-18 23:19:27 +00:00
build() {
lessc css/main.less > css/main.css
}
2020-11-20 16:31:49 +00:00
package() {
mkdir -p "$(rx_cpkgdir)"/usr/share/redxen
mv "$builddir" "$(rx_cpkgdir)"/usr/share/redxen/homepage
2020-11-20 16:31:49 +00:00
}
sha512sums="
2021-06-10 18:48:51 +00:00
264187f295613522f0fcee5349d64bdfa2109d79947fa8c6ddd231e873cc2c963eea8587c6ac906eb67f0848bc45dc973f7cb9b4da078088e60a5673852de394 520af353657053cf61a558e8c90cd4e1c52d5141.tar.gz
"