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
|
2021-03-30 09:21:34 +00:00
|
|
|
pkgver=2021.03.30
|
2021-03-17 11:28:05 +00:00
|
|
|
pkgrel=0
|
2021-03-30 09:21:34 +00:00
|
|
|
_commit="eb8e02ade1127eba06b7a46c1f1e6b41ab8cc8b4"
|
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-03-30 09:21:34 +00:00
|
|
|
sha512sums="25aa4e85da73eff9ba0f55299f13eb8de6030015beaf190eb679fdc2a4dbb7a18f0eda6d076b29cfb76f737a4dad0863380aa53d1a9277b677b165f5b2bfd7c5 eb8e02ade1127eba06b7a46c1f1e6b41ab8cc8b4.tar.gz"
|