[arch-commits] Commit in fontforge/trunk (PKGBUILD)
Gaëtan Bisson
bisson at archlinux.org
Mon Mar 16 03:17:17 UTC 2020
Date: Monday, March 16, 2020 @ 03:17:17
Author: bisson
Revision: 377682
upstream update
Modified:
fontforge/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++------------------
1 file changed, 16 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-16 02:46:25 UTC (rev 377681)
+++ PKGBUILD 2020-03-16 03:17:17 UTC (rev 377682)
@@ -3,32 +3,29 @@
# Contributor: William Rea <sillywilly at gmail.com>
pkgname=fontforge
-pkgver=20190801
-pkgrel=2
+pkgver=20200314
+pkgrel=1
pkgdesc='Outline and bitmap font editor'
url='https://fontforge.github.io/'
arch=('x86_64')
license=('BSD')
-makedepends=('git')
+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.gz")
-sha256sums=('d92075ca783c97dc68433b1ed629b9054a4b4c74ac64c54ced7f691540f70852')
+source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('cd190b237353dc3f48ddca7b0b3439da8ec4fcf27911d14cc1ccc76c1a47c861')
-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 \
+ install -d build
+ cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_MAINTAINER_TOOLS=TRUE \
+ -DENABLE_FONTFORGE_EXTRAS=TRUE \
+ -DENABLE_X11=TRUE \
+ -DUNIX=TRUE \
+ ..
make
}
@@ -35,6 +32,7 @@
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ cd build
make DESTDIR="${pkgdir}" install
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
More information about the arch-commits
mailing list