[arch-commits] Commit in raw-thumbnailer/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 17:32:53 UTC 2020
Date: Tuesday, July 7, 2020 @ 17:32:53
Author: felixonmars
Revision: 659767
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 659765, raw-thumbnailer/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: raw-thumbnailer/repos/community-staging-x86_64/PKGBUILD (from rev 659765, raw-thumbnailer/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 17:32:53 UTC (rev 659767)
@@ -0,0 +1,34 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: boromil at gmail.com
+
+pkgname=raw-thumbnailer
+pkgver=0.2.1
+pkgrel=5
+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