blob: 0d6b87bf99e79a3324fc1f4ab0d2ac871668dbc3 (
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: schw0reismus <schw0reismus@protonmail.com>
pkgname=foliate-git
_name=foliate
pkgver=77.a842909
pkgrel=1
pkgdesc="A simple and modern GTK eBook reader"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://johnfactotum.github.io/foliate/"
license=('GPL-3.0')
depends=('gjs' 'webkit2gtk' 'libsoup')
makedepends=('meson' 'ninja')
source=("$_name::git+https://github.com/johnfactotum/$_name.git#branch=master")
provides=("$_name")
replaces=("$_name")
conflicts=("$_name")
md5sums=('SKIP')
build() {
cd "$srcdir/$_name"
meson build --prefix=/usr
ninja -C build
}
package(){
cd "$srcdir/$_name"
DESTDIR="$pkgdir" ninja -C build install
}
pkgver() {
cd "$srcdir/$_name"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
|