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

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 22:41:13 UTC 2018


    Date: Friday, November 9, 2018 @ 22:41:11
  Author: foutrelis
Revision: 405042

archrelease: copy trunk to community-staging-x86_64

Added:
  raw-thumbnailer/repos/community-staging-x86_64/
  raw-thumbnailer/repos/community-staging-x86_64/PKGBUILD
    (from rev 405041, raw-thumbnailer/trunk/PKGBUILD)

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

Copied: raw-thumbnailer/repos/community-staging-x86_64/PKGBUILD (from rev 405041, raw-thumbnailer/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 22:41:11 UTC (rev 405042)
@@ -0,0 +1,34 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: boromil at gmail.com
+
+pkgname=raw-thumbnailer
+pkgver=0.2.1
+pkgrel=4
+pkgdesc="A lightweight and fast raw image thumbnailer that can be used by file managers."
+url="https://code.google.com/archive/p/raw-thumbnailer/"
+license=('GPL2')
+arch=('x86_64')
+depends=('libopenraw')
+source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname-$pkgver.tar.gz)
+sha1sums=('f34012062c0b1eaa10525722c36bd027b11ade2e')
+
+prepare() {
+	cd ${srcdir}/$pkgname-$pkgver
+
+	# Fix build with libopenraw 0.1.0
+	sed -ri 's/(libopenraw(-gnome)?)-1\.0/\1-0.1/' configure.ac
+	autoreconf -vi
+}
+
+build() {
+	cd ${srcdir}/$pkgname-$pkgver
+
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	cd ${srcdir}/$pkgname-$pkgver
+
+	make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list