summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7bde79432ab5c82d0bf1ed15b7d53b2bcc10c6dd (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
pkgname=epdfview-gtk3
pkgver=0.2.0
pkgrel=2
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_old.git"
        'patch.txt')
md5sums=('SKIP' 'SKIP')

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

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

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