2020-11-20 16:31:49 +00:00
|
|
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
2020-12-18 20:50:42 +00:00
|
|
|
pkgname=redxen-data-homepage
|
2020-12-19 22:31:50 +00:00
|
|
|
pkgver=2020.12.19
|
2020-11-20 16:31:49 +00:00
|
|
|
pkgrel=0
|
|
|
|
_commit="ccffc104aeb298b8192b6d3174d4f8d9cccd3f3c"
|
|
|
|
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() {
|
|
|
|
mkdir -p "$pkgdir"
|
2020-12-19 22:31:50 +00:00
|
|
|
mv "$builddir" "$pkgdir"/http
|
2020-11-20 16:31:49 +00:00
|
|
|
chown -Rv root:www-data "$pkgdir"/http
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sha512sums="8da26bb626f7485cc8139befefe0452295c8ecc0a6a6fd4c5fcfbc7c605447f862d7fe561dfe68e3267efac7fd3aec36a4e7b517a363d201c9a0638b70e114d6 ccffc104aeb298b8192b6d3174d4f8d9cccd3f3c.tar.gz"
|