blob: 0665278ade61a396cfed7dedd341c99fcb29adad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: metamuffin <metamuffin@disroot.org>
pkgname=hurrycurry-website-git
pkgver=r26.d7a96f2
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"
install -Dm664 -t $pkgdir/usr/share/hurrycurry/website website/*.{png,webp,svg,woff2,html,css}
}
|