summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b8380b6d2a1bb0ba5724444459a8b74fb31f0fec (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: moebiuseye <möëbïüs döt ëÿë ät gmäïl döt cöm>

pkgname="skf-framework"
pkgver=99.886346e
pkgrel=1
arch=(any)
pkgdesc="Plugin-based static website generator inspired by Suckless Web Framework"
url="http://skf.jeannedhack.org/"
license=(GPLv3)
depends=("markdown" "bash>4")
makedepends=("make" "git")
optdepends=("rsync")
provides=("skf-framework")
conflicts=("skf-framework")
source=("git://github.com/moebiuseye/skf.git")
md5sums=("SKIP")

_gitroot=skf

pkgver () {
    cd "$srcdir/$_gitroot"
    printf '%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/$_gitroot"
    echo " DSTDIR = $pkgdir "
}

package() {
    cd "$srcdir/$_gitroot"
    make PREFIX=/usr DESTDIR="$pkgdir" install
}