blob: e1597b3f1b713d8707bbd1387bd84830c3a630e9 (
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
35
36
37
38
39
40
41
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=rawstudio-git
pkgver=2.0.r624.gc140a5e
pkgrel=2
pkgdesc='An open-source program to read and manipulate RAW images from digital cameras'
arch=(x86_64)
url=https://rawstudio.org
license=(GPL2)
depends=(desktop-file-utils
exiv2
fftw
gconf
lcms2
lensfun
libgphoto2
osm-gps-map)
makedepends=(git)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+https://github.com/rawstudio/${pkgname%-git}.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --abbrev=7 --tags --match="v*" HEAD |
sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$pkgname"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir/" install
}
|