summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e8b3929389032692a268fa73f3f8973ec28db096 (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
# Maintainer: Chris Down <chris@chrisdown.name>

pkgname=arwtojpg-git
_gitname=arwtojpg
pkgver=0.1.0.r0.g3036a34
pkgrel=1
pkgdesc='Fast extraction of embedded JPEGs from Sony ARW files'
url='http://github.com/cdown/arwtojpg'
arch=(any)
license=('MIT')
depends=()
provides=(arwtojpg)
conflicts=(arwtojpb)
makedepends=(git)

source=('git+https://github.com/cdown/arwtojpg.git#branch=master')
md5sums=('SKIP')

pkgver() {
    cd "${srcdir?}/$_gitname"
    git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

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