summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b8bbc2869b982e12eaf661a7c857f9e071ed8be (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
# Maintainer: Andrey Vetrov <vetrov at mail dot ru>

pkgname=epdfview-gtk3
pkgver=0.2.0
pkgrel=1
pkgdesc='Lightweight PDF document viewer. GTK3 version.'
url='https://github.com/Flow-It/epdfview'
arch=('x86_64')
license=('GPL2')
provides=('epdfview')
conflicts=('epdfview')
replaces=('epdfview')
depends=('gtk3' 'poppler-glib' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('git' 'meson' 'ninja' 'doxygen')
source=("git+https://github.com/Flow-It/epdfview.git"
        'patch.txt')
md5sums=('SKIP' 'SKIP')

prepare() {
    cd "${srcdir}/${pkgname%-*}"
    patch -Np1 -i ../patch.txt
}

build() {
  mkdir build
  meson --prefix=/usr \
        --buildtype=plain \
          "${srcdir}/${pkgname%-*}" build
  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}