summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9974147b4b826e5e49cacaeaea4d04ecf8a08c4b (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
# Maintainer: Patrick McCarty <pnorcks at gmail.com>
# Contributor: Florian Pelz <pelzflorian at pelzflorian.de>

pkgname=haunt
pkgver=0.3.0
pkgrel=2
pkgdesc="Static site generator written in Guile Scheme"
arch=('any')
url="https://haunt.dthompson.us"
license=('GPL-3.0-or-later')
depends=('guile')
optdepends=('guile-reader: Skribe support'
            'guile-commonmark: CommonMark support'
            'rsync: integrated publishing with rsync'
            'hut: integrated publishing to Sourcehut')
makedepends=('guile-reader' 'guile-commonmark')
source=("https://files.dthompson.us/haunt/${pkgname}-${pkgver}.tar.gz"
        "https://files.dthompson.us/haunt/${pkgname}-${pkgver}.tar.gz.asc")
sha256sums=('98babed06be54a066c3ebc94410a91eb7cc48367e94d528131d3ba271499992b'
            'SKIP')
validpgpkeys=('8CCBA7F552B9CBEAE1FB29158328C7470FF1D807')

build() {
  cd "$pkgname"-"$pkgver"
  ./configure --prefix=/usr
  make
}

check() {
  cd "$pkgname"-"$pkgver"
  make check
}

package() {
  cd "$srcdir"/"$pkgname"-"$pkgver"
  make DESTDIR="$pkgdir/" install
}