blob: 8df1c2305dea4b49664f02a1383be707be451772 (
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: txelu
pkgname=dnglab-git
_pkgname=dnglab
pkgver=0.5.1
pkgrel=0
pkgdesc="A camera RAW to DNG file format converter."
arch=(any)
url="https://github.com/dnglab/dnglab"
license=(GPL2)
depends=()
makedepends=(git rust)
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"
}
|