# Maintainer: metamuffin pkgname=hurrycurry-website-git pkgver=r33.7430b9c pkgrel=1 pkgdesc="Hurrycurry website files" arch=('any') url="https://codeberg.org/hurrycurry/website" license=('AGPL3') conflics=('hurrycurry-website') provides=('hurrycurry-website') makedepends=('python') source=("git+https://codeberg.org/hurrycurry/website.git" "git+https://codeberg.org/hurrycurry/hurrycurry-dist-extra.git") sha256sums=("SKIP" "SKIP") pkgver() { cd "website" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { rm -rf website/dist-extra cp -r hurrycurry-dist-extra website/dist-extra } build() { cd "website" make } package() { install -dm755 "$pkgdir/usr/share/hurrycurry/website" cp -r website/* "$pkgdir/usr/share/hurrycurry/website" }