diff options
author | Caleb Maclennan | 2020-03-12 12:25:30 +0300 |
---|---|---|
committer | Caleb Maclennan | 2020-03-19 23:40:11 +0300 |
commit | 89583673a41126a804b58d3f3a9acc4cab8d0994 (patch) | |
tree | 98e77a5f653a8d50b6324bd9a2bdf1eff7eb9d9b | |
parent | d8b76e8d897bc11d3c0daf505bcfa7567f698bf4 (diff) | |
download | aur-89583673a41126a804b58d3f3a9acc4cab8d0994.tar.gz |
Don't package OTF fonts in TTF package, drop obsolete dependencies
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 18 insertions, 20 deletions
@@ -1,15 +1,14 @@ pkgbase = ttf-league-script-number-one - pkgdesc = A coquettish script font somewhere between a high school girl’s love notes and handwritten letters from the ’20s + pkgdesc = A script font between a girl’s love notes and handwritten letters from the ’21s pkgver = 20160215 - pkgrel = 2 + pkgrel = 3 url = https://www.theleagueofmoveabletype.com/league-script arch = any groups = lmt-fonts - license = custom:OFL - depends = fontconfig - depends = xorg-font-utils - source = https://github.com/theleagueof/league-script-number-one/archive/master.zip - sha256sums = fd28ca03e64c85c210fa3f9f729912080ed75b3f12c37228c2ae679109597398 + license = OFL + provides = ttf-league-script + source = https://github.com/theleagueof/league-script-number-one/archive/225add0b37cf8268759ba4572e02630d9fb54ecf.zip + sha256sums = 44fbe4de63d64e5bb97c8872e197cc8138e681a1bdbbc66fdf0cde17ccd6369e pkgname = ttf-league-script-number-one @@ -4,21 +4,20 @@ _fnt_name=league-script-number-one pkgname=ttf-$_fnt_name pkgver=20160215 -pkgrel=2 -pkgdesc='A coquettish script font somewhere between a high school girl’s love notes and handwritten letters from the ’20s' +_sha=225add0b37cf8268759ba4572e02630d9fb54ecf +pkgrel=3 +pkgdesc='A script font between a girl’s love notes and handwritten letters from the ’21s' arch=('any') -url="https://www.theleagueofmoveabletype.com/league-script" -license=('custom:OFL') +url="https://www.theleagueofmoveabletype.com/${_fnt_name%-number-one}" +license=('OFL') groups=('lmt-fonts') -depends=('fontconfig' 'xorg-font-utils') -source=("https://github.com/theleagueof/$_fnt_name/archive/master.zip") -sha256sums=('fd28ca03e64c85c210fa3f9f729912080ed75b3f12c37228c2ae679109597398') +provides=("${pkgname%-number-one}") +source=("https://github.com/theleagueof/$_fnt_name/archive/$_sha.zip") +sha256sums=('44fbe4de63d64e5bb97c8872e197cc8138e681a1bdbbc66fdf0cde17ccd6369e') package() { - cd "$_fnt_name"-master - - install -d "$pkgdir"/usr/share/fonts/OTF - - install -Dm644 Open\ Font\ License.markdown "$pkgdir/usr/share/licenses/$pkgname"/LICENSCE - install -Dm644 *.otf "$pkgdir"/usr/share/fonts/OTF/ + cd "$_fnt_name-$_sha" + install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" webfonts/*.ttf + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" Open\ Font\ License*.markdown + install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" readme.markdown } |