Date: Monday, November 4, 2019 @ 19:33:42
  Author: felixonmars
Revision: 366755

archrelease: copy trunk to staging-x86_64

Added:
  fontforge/repos/staging-x86_64/
  fontforge/repos/staging-x86_64/PKGBUILD
    (from rev 366754, fontforge/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: fontforge/repos/staging-x86_64/PKGBUILD (from rev 366754, 
fontforge/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2019-11-04 19:33:42 UTC (rev 366755)
@@ -0,0 +1,40 @@
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: Eric Belanger <[email protected]>
+# Contributor: William Rea <[email protected]>
+
+pkgname=fontforge
+pkgver=20190801
+pkgrel=2
+pkgdesc='Outline and bitmap font editor'
+url='https://fontforge.github.io/'
+arch=('x86_64')
+license=('BSD')
+makedepends=('git')
+depends=('libtool' 'pango' 'giflib' 'libtiff' 'libxml2' 'libspiro' 'python'
+         'potrace' 'woff2' 'gtk3' 'libuninameslist')
+source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('d92075ca783c97dc68433b1ed629b9054a4b4c74ac64c54ced7f691540f70852')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|python-"${PYTHON_VERSION}"|python-"${PYTHON_VERSION}"-embed|g' -i 
m4/fontforge_arg_enable.m4 # Fix linking to python 3.8
+  autoreconf -vif
+}
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       ./configure \
+               --prefix=/usr \
+               --mandir=/usr/share/man \
+               --enable-python-extension \
+               --enable-woff2 \
+               --enable-gdk \
+
+       make
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make DESTDIR="${pkgdir}" install
+       install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Reply via email to