summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ac5afbddb68e1a706a63cd2366e00b50df11de15 (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.3
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=('e4e8b50b0a5e984cfdaa32b7d133bd3bf0c62edb14f752f7df1190176023972b')

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
}