summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0b8ca04a4028700ad56ae97ec454389b65cc80fa (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
34
35
36
37
38
39

# Maintainer: Alfred Roos alfred@stensatter.se
pkgname=weber-git
pkgver=1.0.5
pkgrel=1
epoch=
pkgdesc="compiles html components to pages"
arch=(x86_64)
url="https://github.com/SharkooMaster/weber.git"
license=('GPL-2.0')
groups=()
depends=(python)
makedepends=(python-pip)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=()
noextract=()
md5sums=()
validpgpkeys=()

prepare() {
    pip install flagser
    git clone https://github.com/SharkooMaster/weber.git
}

package() {
    cd weber
    sed -i -e '1i#!/bin/python\' ./compile.py
    install -Dm755 ./compile.py "$pkgdir/usr/bin/weber" 
    install -Dm755 ./watcher.py "$pkgdir/usr/bin/watcher.py" 
    install -Dm755 ./generateFiles.py "$pkgdir/usr/bin/generateFiles.py" 
}