blob: 83da440522ea17d78a9d4341ac73c9a9c2e7b8e6 (
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
|
# Maintainer: Nate Simon <njsimon10@gmail.com>
pkgname=xviewer
pkgver=3.4.3
pkgrel=1
pkgdesc="A simple and easy to use image viewer. X-Apps Project."
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
depends=('xapp' 'gtk3' 'cinnamon-desktop' 'libpeas' 'libexif' 'libjpeg-turbo'
'exempi')
makedepends=('gobject-introspection' 'librsvg' 'meson' 'itstool'
'gtk-doc')
optdepends=('xviewer-plugins: Extra plugins'
'librsvg: for scaling svg images'
'webp-pixbuf-loader: webp image support'
'libheif: Load .heif, .heic, and .avif'
'libavif: Load .avif'
'yelp: View xviewer help and documentation from the app'
)
url='https://github.com/linuxmint/xviewer'
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
md5sums=('1ee7867bf7c0e44d78b74de213d9529c')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
cd "${srcdir}"/${pkgname}-${pkgver}/build
meson --prefix=/usr \
--libexecdir=lib/${pkgname} \
--buildtype=plain \
..
ninja
}
package(){
cd "${srcdir}"/${pkgname}-${pkgver}/build
DESTDIR="$pkgdir/" ninja install
}
|