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-29 19:37:53 +00:00
|
|
|
pkgver=2020.12.29
|
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() {
|
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
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sha512sums="8da26bb626f7485cc8139befefe0452295c8ecc0a6a6fd4c5fcfbc7c605447f862d7fe561dfe68e3267efac7fd3aec36a4e7b517a363d201c9a0638b70e114d6 ccffc104aeb298b8192b6d3174d4f8d9cccd3f3c.tar.gz"
|