summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZenvie2024-01-22 18:01:22 +0800
committerGitHub2024-01-22 13:01:22 +0300
commit73abfaf53566cda0055b793f1bab969877a0db00 (patch)
tree4a7a119e339f480f22b77089ec2cfd1634296e84
parent53aa7cd95236408ee34fcda4212bda6d713e08af (diff)
downloadaur-73abfaf53566cda0055b793f1bab969877a0db00.tar.gz
fix(ttfautohint): fix errors reported by namcap (#72)
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
2 files changed, 13 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2b73715d4bb4..7f535e89a70e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,15 @@
pkgbase = ttfautohint
pkgdesc = Provides automated hinting process for web fonts
pkgver = 1.8.4
- pkgrel = 1
+ pkgrel = 3
url = http://www.freetype.org/ttfautohint
arch = i686
arch = x86_64
- license = GPL
- license = custom
+ license = FTL
+ license = GPL-2.0-only
depends = freetype2
+ depends = gcc-libs
+ depends = glibc
depends = harfbuzz
depends = qt5-base
source = https://download.savannah.gnu.org/releases/freetype/ttfautohint-1.8.4.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index b80630d62a98..38f4b570b8c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,12 +4,16 @@
pkgname=ttfautohint
pkgver=1.8.4
-pkgrel=1
+pkgrel=3
pkgdesc="Provides automated hinting process for web fonts"
arch=(i686 x86_64)
url="http://www.freetype.org/$pkgname"
-license=(GPL custom)
-depends=(freetype2 harfbuzz qt5-base)
+license=(FTL GPL-2.0-only)
+depends=(freetype2
+ gcc-libs
+ glibc
+ harfbuzz
+ qt5-base)
source=(https://download.savannah.gnu.org/releases/freetype/$pkgname-$pkgver.tar.gz{,.sig})
sha256sums=('8a876117fa6ebfd2ffe1b3682a9a98c802c0f47189f57d3db4b99774206832e1'
'SKIP')
@@ -20,8 +24,7 @@ build() {
./configure \
--prefix=/usr \
--without-doc \
- --with-qt=/usr/lib/qt \
- --with-freetype-config="pkg-config freetype2"
+ --with-qt=/usr/lib/qt
make
}