Date: Monday, March 16, 2020 @ 03:17:34
  Author: bisson
Revision: 377683

archrelease: copy trunk to extra-x86_64

Added:
  fontforge/repos/extra-x86_64/PKGBUILD
    (from rev 377682, fontforge/trunk/PKGBUILD)
Deleted:
  fontforge/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-03-16 03:17:17 UTC (rev 377682)
+++ PKGBUILD    2020-03-16 03:17:34 UTC (rev 377683)
@@ -1,40 +0,0 @@
-# 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"
-}

Copied: fontforge/repos/extra-x86_64/PKGBUILD (from rev 377682, 
fontforge/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-03-16 03:17:34 UTC (rev 377683)
@@ -0,0 +1,38 @@
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: Eric Belanger <[email protected]>
+# Contributor: William Rea <[email protected]>
+
+pkgname=fontforge
+pkgver=20200314
+pkgrel=1
+pkgdesc='Outline and bitmap font editor'
+url='https://fontforge.github.io/'
+arch=('x86_64')
+license=('BSD')
+makedepends=('cmake' 'git' 'python-sphinx')
+depends=('libtool' 'pango' 'giflib' 'libtiff' 'libxml2' 'libspiro' 'python'
+         'potrace' 'woff2' 'gtk3' 'libuninameslist')
+source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz";)
+sha256sums=('cd190b237353dc3f48ddca7b0b3439da8ec4fcf27911d14cc1ccc76c1a47c861')
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       install -d build
+       cd build
+       cmake \
+               -DCMAKE_INSTALL_PREFIX=/usr \
+               -DENABLE_MAINTAINER_TOOLS=TRUE \
+               -DENABLE_FONTFORGE_EXTRAS=TRUE \
+               -DENABLE_X11=TRUE \
+               -DUNIX=TRUE \
+               ..
+
+       make
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       cd build
+       make DESTDIR="${pkgdir}" install
+       install -Dm644 ../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Reply via email to