blob: 2451f77742f728fd988409a6bcfa4781898e068c (
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: Jae Lo Presti <me@jae.fi>
pkgname=exiftool-rs-git
_pkgname=exiftool-rs
pkgver=0.1.0
pkgrel=1
pkgdesc='Image metadata scrubber written in Rust.'
arch=('x86_64')
url='https://github.com/jae1911/exiftool-rs'
license=('MIT')
depends=('rust')
source=("git+https://github.com/jae1911/exiftool-rs.git")
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
echo r$(git rev-list --all --count).g$(git rev-parse --short HEAD)
}
package() {
cd "${srcdir}/${_pkgname}"
CARGO_INSTALL_ROOT="${pkgdir}/usr" cargo install --path .
install -Dm644 "${srcdir}/${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE-MIT"
}
|