blob: c2dc9bc308a7b085be058bab939dcc2132ded216 (
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
29
30
31
32
33
34
35
36
|
# Maintainer: Luigi311 <aur@luigi311.com>
pkgname=libdng-git
pkgver=r43.9c7b18e
pkgrel=1
pkgdesc='Interface library between libtiff and the world to make sure the output is valid DNG'
arch=('x86_64' 'aarch64')
url="https://gitlab.com/megapixels-org/libdng"
branch="master"
license=('MIT')
depends=()
makedepends=('meson' 'libtiff' 'scdoc')
checkdepends=()
optdepends=()
provides=('libdng')
conflicts=('libdng')
replaces=('libdng')
source=("${pkgname}::git+${url}.git#branch=${branch}")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
arch-meson ${pkgname} build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
DESTDIR="${pkgdir}" meson install -C build
}
|