archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gnome-epub-thumbnailer / trunk / PKGBUILD
blob1de13629856fc64baf3899793e127dc26d9c2373
1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
3 pkgname=gnome-epub-thumbnailer
4 pkgver=1.6
5 pkgrel=2
6 pkgdesc="Thumbnailer for EPub and MOBI books"
7 url="https://gitlab.gnome.org/GNOME/gnome-epub-thumbnailer"
8 license=(GPL)
9 arch=(x86_64)
10 _commit=0211ca3c1f11a2c49f3df1aacb33108846b52ef0  # tags/1.6^0
11 depends=(gdk-pixbuf2 librsvg libarchive libxml2)
12 makedepends=(git)
13 source=("git+https://gitlab.gnome.org/GNOME/gnome-epub-thumbnailer.git#commit=$_commit")
14 sha256sums=('SKIP')
16 pkgver() {
17   cd $pkgname
18   git describe --tags | sed 's/-/+/g'
21 prepare() {
22   cd $pkgname
23   NOCONFIGURE=1 ./autogen.sh
26 build() {
27   cd $pkgname
28   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
29     --enable-compile-warnings=minimum
30   make
33 check() {
34   make -C $pkgname check
37 package() {
38   DESTDIR="$pkgdir" make -C $pkgname install
41 # vim:set sw=2 et: