blob: c40d2e1c56c6f1b631e13302dd3a510c2fb68620 (
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
|
# Maintainer: Andrew Sun <adsun701 at gmail dot com>
# Contributor: Pedro Silva <psilva+git at pedrosilva dot pt>
# Contributor: Juri Grabowski <archlinux-aur at juri-grabowski dot de>
pkgname=blogc
pkgver=0.20.1
pkgrel=1
pkgdesc="A blog compiler"
arch=('i686' 'x86_64' 'pentium4' 'i486' 'aarch64')
url="https://blogc.rgm.io/"
license=('BSD')
depends=('glibc')
options=('!emptydirs')
source=("https://github.com/blogc/blogc/releases/download/v${pkgver}/blogc-${pkgver}.tar.gz")
sha256sums=('2ebc929d014bae02fe44377a9b3988f7a3b8259ef579e13daf027f52d9aaf319')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
./autogen.sh
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--enable-git-receiver \
--enable-runserver \
--enable-make
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make install DESTDIR=${pkgdir}
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|