db-move: moved gnome-font-viewer from [testing] to [extra] (x86_64)
[arch-packages.git] / rebuilderd-website / repos / extra-any / PKGBUILD
blobebdad7c9b4b76cf8e4d07ea3abd53b1b60fb3140
1 # Maintainer: Jelle van der Waa <jelle@archlinux.org>
3 pkgname=rebuilderd-website
4 pkgver=0.5.5
5 pkgrel=1
6 pkgdesc="Arch Linux Rebuilderd website reproducible.archlinux.org"
7 license=('MIT')
8 arch=(any)
9 depends=()
10 makedepends=('yarn' 'ruby-sass' 'make' 'git' 'svgcleaner')
11 url="https://gitlab.archlinux.org/archlinux/rebuilderd-website"
12 validpgpkeys=('E499C79F53C96A54E572FEE1C06086337C50773E')
13 source=("git+https://gitlab.archlinux.org/archlinux/rebuilderd-website.git#tag=v${pkgver}?signed"
14         "git+https://gitlab.archlinux.org/archlinux/archlinux-common-style.git")
15 sha512sums=('SKIP'
16             'SKIP')
18 build() {
19   cd ${pkgname}
20   make dist
23 package() {
24   cd ${pkgname}
25   install -d ${pkgdir}/usr/share/webapps/${pkgname}
27   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
29   # Install web files
30   install -Dm644 dist/${pkgname}-${pkgver}/index.html "${pkgdir}/usr/share/webapps/${pkgname}/index.html"
31   install -Dm644 dist/${pkgname}-${pkgver}/favicon.ico "${pkgdir}/usr/share/webapps/${pkgname}/favicon.ico"
32   install -Dm644 dist/${pkgname}-${pkgver}/archlogo-${pkgver}.svg "${pkgdir}/usr/share/webapps/${pkgname}/archlogo-${pkgver}.svg"
33   install -Dm644 dist/${pkgname}-${pkgver}/bundle-${pkgver}.css "${pkgdir}/usr/share/webapps/${pkgname}/bundle-${pkgver}.css"
34   install -Dm644 dist/${pkgname}-${pkgver}/bundle-${pkgver}.js "${pkgdir}/usr/share/webapps/${pkgname}/bundle-${pkgver}.js"
36   # TODO: Fix in Makefile
37   install -d ${pkgdir}/usr/share/webapps/${pkgname}/icons
38   install -Dm644 public/icons/note-16.svg "${pkgdir}/usr/share/webapps/${pkgname}/icons/note-16.svg"
39   install -Dm644 public/icons/search-16.svg "${pkgdir}/usr/share/webapps/${pkgname}/icons/search-16.svg"