blob: 19c094b097239166395022ce28bd1140115b9e8a (
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
37
38
39
40
41
42
|
# Maintainer: Carlos van Rooijen <aur at carlosvanrooijen dot nl>
pkgname=unpaper-git
pkgver=6.r299.a2a88fe
pkgrel=1
epoch=
pkgdesc="Post-processing tool for scanned sheets of paper."
arch=('i686' 'x86_64')
url="https://github.com/unpaper/unpaper"
license=('GPL')
groups=()
depends=('ffmpeg')
makedepends=('git')
optdepends=()
checkdepends=()
provides=('unpaper')
conflicts=('unpaper')
replaces=()
backup=()
options=()
changelog=
install=
source=("$pkgname::git+https://github.com/unpaper/unpaper.git")
noextract=()
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "6.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() {
meson install -C build --destdir "$pkgdir"
}
|