summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f766f6c6a0c22f70e4d3d248bb7598d3c22b3703 (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
# Maintainer: Yaroslav de la Peña Smirnov <yps@yaroslavps.com>

pkgname=revela
pkgver=0.1.5
pkgrel=1
pkgdesc="A static web image gallery generator."
arch=('any')
url="https://sr.ht/~yaroslav/revela/"
license=('GPL2')
makedepends=('gcc' 'make' 'scdoc' 'git' 'binutils')
depends=('graphicsmagick' 'libexif')
provides=('revela')
conflicts=('revela')
source=("$pkgname-$pkgver::git+https://git.sr.ht/~yaroslav/revela#tag=v${pkgver}")
sha256sums=('SKIP')

prepare() {
	cd "$srcdir/$pkgname-$pkgver"
	git submodule update --init --recursive
}

build() {
	cd "$srcdir/$pkgname-$pkgver"
	make
}

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