summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cfd731154cdb4c848ec3437913997946d8293c76 (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
# Maintainer: Brandon Clifford <brandon099 at gmail dot com>

_gitname=raw2dng
pkgname="$_gitname-git"
pkgver=r55.f2e9019
pkgrel=1
pkgdesc="Linux utility for converting raw photo files into DNG, TIFF and JPEG formats."
arch=('i686' 'x86_64')
url="https://github.com/Fimagena/raw2dng"
license=('unknown')
depends=()
provides=('raw2dng')
conflicts=()
makedepends=('git' 'make' 'cmake' 'libjpeg-turbo' 'exiv2' 'libraw')
source=("git+https://github.com/Fimagena/$_gitname.git")
md5sums=('SKIP')

pkgver() {
    cd "${srcdir}/${_gitname}"
    echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
    cd "${srcdir}/${_gitname}"
    cmake .
    make
}

package() {
    cd "${srcdir}/${_gitname}"
    make DESTDIR="$pkgdir" install
}