summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 09f2c2fdcb94648c7e23bf337a2d805fc838d490 (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
# Maintainer: Andrew Sun <adsun701 at gmail dot com>
# Contributor: Felix Schindler <aur at schindlerfmily dot de>

pkgname=fntsample
pkgver=5.4
pkgrel=1
pkgdesc="PDF and PostScript font samples generator"
url="https://github.com/eugmes/fntsample"
license=('GPL3')
arch=(i686 x86_64)
depends=(cairo fontconfig freetype2 glib2 pango unicode-character-database perl-pdf-api2 perl-libintl-perl)
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/eugmes/fntsample/archive/release/${pkgver}.tar.gz")
sha256sums=('69eb3d83bce78b6610f4a8f19d089059079ebc475c36d456ebcb4c8add431166')

build() {
  mkdir -p "${srcdir}/build" && cd "${srcdir}/build"
  cmake \
    -DCMAKE_INSTALL_PREFIX=/usr \
    ../${pkgname}-release-${pkgver}

  make
}

package() {
  cd "${srcdir}/build"
  make DESTDIR=${pkgdir} install
}