summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a57707eeabf970af1c0e506dc3ed9836ff933e41 (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
# Port pkgbuild for aur4
# Original pkgbuild is here: https://github.com/aur-archive/flaxpdf-git
# manteiner: pekman
# initial submission: 26/september/2015

pkgname=flaxpdf-git
pkgver=20152609
pkgrel=1
pkgdesc="A simple FLTK PDF viewer"
arch=('i686' 'x86_64')
url="https://github.com/clbr/flaxpdf"
license=('GPL3')
depends=('fltk' 'poppler' 'lzo')
makedepends=('automake' 'autoconf' 'git')

source=(git://github.com/clbr/flaxpdf.git)
sha256sums=('SKIP')

build() {
  cd flaxpdf

  mkdir -p config
  touch config/config.rpath
  ./autogen.sh

  # ensure gcc because clang doesn't support OpenMP yet
  CC=gcc CXX=g++ ./configure --prefix=/usr 

  make
}

package() {
  cd flaxpdf
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: