blob: 9a9e1f14a3e87a1255252015551b9d4fb9f29915 (
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
34
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: boromil@gmail.com
pkgname=raw-thumbnailer
pkgver=0.2.1
pkgrel=7
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 $pkgname-$pkgver
# Fix build with libopenraw 0.2
sed -ri 's/(libopenraw(-gnome)?)-1\.0/\1-0.3/' configure.ac
autoreconf -vi
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|