summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fcf339545c94eb4f3087f2e79a94c3d03766b7c2 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Maintainer: Santiago Burgos <santiago.burgos1089@gmail.com>
# Contributor: Fabian Bornschein <fabiscafe@archlinux.org>
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=simple-scan-linuxmint
_pkgname=simple-scan
pkgver=44.0
_pkgver=wilma
pkgrel=1
pkgdesc="Simple scanning utility. Linux Mint version"
url="https://gitlab.gnome.org/GNOME/simple-scan"
arch=(x86_64)
license=(GPL-3.0-or-later)
depends=(
    'cairo'
    'colord-sane'
    'dconf'
    'gdk-pixbuf2'
    'glib2'
    'glibc'
    'gtk3'
    'hicolor-icon-theme'
    'libcolord'
    'libgusb'
    'libwebp'
    'sane'
    'zlib'
)
makedepends=(
    'meson'
    'vala'
    'yelp-tools'
)
provides=(
    ${_pkgname}
    simple-scan-gtk3
)
conflicts=(
    ${_pkgname}
    simple-scan-gtk3
)
source=("http://packages.linuxmint.com/pool/upstream/s/${_pkgname}/${_pkgname}_${pkgver}-${pkgrel}+${_pkgver}.tar.xz")
sha256sums=('c5234d912f2aa0e170f364f142939d8827a7be519b5ee3d0e734939b755021d8')

prepare() {
    cd $_pkgname
}

build() {
    arch-meson $_pkgname build
    meson compile -C build
}

check() {
    meson test -C build --print-errorlogs
}

package() {
    meson install -C build --destdir "$pkgdir"
}