blob: ece1e3078dfb86c6b10119c01b05d5a1b8be6670 (
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
|
# Maintainer: Jose Luis <joseluis.tirado@gmail.com>
# Maintainer: Plague-doctor <plague at privacyrequired dot com>
pkgname=dnglab-git
_pkgname=dnglab
pkgver=0.7.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 rust)
provides=($_pkgname)
source=("git+https://github.com/dnglab/dnglab.git")
sha256sums=('SKIP')
build() {
cd "$srcdir/$_pkgname"
git checkout tags/v$pkgver -b build-$pkgver
cargo build --release
}
package() {
install -d "$pkgdir/usr/bin"
install -Dm755 "$srcdir/$_pkgname/target/release/$_pkgname" "$pkgdir/usr/bin"
}
|