summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 53ee307cf93da17ced89adb433edc73e37e1af93 (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
# Maintainer: Plague-doctor <plague at privacyrequired dot com>

pkgname=dnglab-git
_pkgname=dnglab
pkgver=0.3.0
pkgrel=1
pkgdesc="A camera RAW to DNG file format converter."
arch=(any)
url="https://github.com/dnglab/dnglab"
license=(GPL2)
depends=()
makedepends=(git cargo)

source=("git+https://github.com/dnglab/dnglab.git")
sha256sums=('SKIP')

build() {
    cd "$srcdir/$_pkgname"
    git checkout tags/v$pkgver -b build
    cargo build --release
}

package() {
    install -d "$pkgdir/usr/bin"
    install -Dm755 "$srcdir/$_pkgname/target/release/$_pkgname" "$pkgdir/usr/bin"
}