[arch-commits] Commit in gnome-epub-thumbnailer/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat May 16 12:25:51 UTC 2020


    Date: Saturday, May 16, 2020 @ 12:25:50
  Author: felixonmars
Revision: 384526

archrelease: copy trunk to staging-x86_64

Added:
  gnome-epub-thumbnailer/repos/staging-x86_64/
  gnome-epub-thumbnailer/repos/staging-x86_64/PKGBUILD
    (from rev 384524, gnome-epub-thumbnailer/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: gnome-epub-thumbnailer/repos/staging-x86_64/PKGBUILD (from rev 384524, gnome-epub-thumbnailer/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 12:25:50 UTC (rev 384526)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gnome-epub-thumbnailer
+pkgver=1.6
+pkgrel=2
+pkgdesc="Thumbnailer for EPub and MOBI books"
+url="https://gitlab.gnome.org/GNOME/gnome-epub-thumbnailer"
+license=(GPL)
+arch=(x86_64)
+_commit=0211ca3c1f11a2c49f3df1aacb33108846b52ef0  # tags/1.6^0
+depends=(gdk-pixbuf2 librsvg libarchive libxml2)
+makedepends=(git)
+source=("git+https://gitlab.gnome.org/GNOME/gnome-epub-thumbnailer.git#commit=$_commit")
+sha256sums=('SKIP')
+ 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --enable-compile-warnings=minimum
+  make
+}
+
+check() {
+  make -C $pkgname check
+}
+ 
+package() {
+  DESTDIR="$pkgdir" make -C $pkgname install
+}
+
+# vim:set sw=2 et:


More information about the arch-commits mailing list