aports/data/homepage/APKBUILD

30 lines
865 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>
pkgname=redxen-data-homepage
2021-05-03 18:30:12 +00:00
pkgver=2021.05.03
2021-03-17 11:28:05 +00:00
pkgrel=0
2021-05-03 18:30:12 +00:00
_commit="8dcae275e38e3e5a6ca3394234e1c8ec4e202f43"
2020-11-20 16:31:49 +00:00
pkgdesc="Homepage files"
url="https://git.redxen.eu/RedXen/Homepage"
arch="noarch"
license="none"
2020-12-18 23:19:27 +00:00
makedepends="nodejs-less"
2020-11-20 16:31:49 +00:00
options="!check" # No checks possible
source="
https://git.redxen.eu/RedXen/Homepage/archive/$_commit.tar.gz
"
2020-12-18 23:19:27 +00:00
builddir="$srcdir/homepage"
build() {
lessc css/main.less > css/main.css
}
2020-11-20 16:31:49 +00:00
package() {
2020-12-29 19:37:53 +00:00
mkdir -p "$pkgdir"/usr/share/redxen
mv "$builddir" "$pkgdir"/usr/share/redxen/homepage
chown -Rv root:www-data "$pkgdir"/usr/share/redxen/homepage
2020-11-20 16:31:49 +00:00
}
2021-05-03 18:30:12 +00:00
sha512sums="89a67718320180faf2ae332eca4e0fd0810efb01799e20b4ae563d98eeee35ee3a64035ab4a9f13a296cb5bfd0e087e9368294400a5350da9bae3a70914ee469 8dcae275e38e3e5a6ca3394234e1c8ec4e202f43.tar.gz"