diff options
author | Lester | 2019-10-27 11:46:17 +0800 |
---|---|---|
committer | GitHub | 2019-10-27 11:46:17 +0800 |
commit | 9903b568192c3b872b496a852848efa32b95aac4 (patch) | |
tree | 5dcd680a790bad68950f6153c71c3c186d61c79c | |
parent | 31f4f1f2cc7e65486df9dda7fdaa48157078ab2f (diff) | |
parent | 7a59007c34bc8ed936669aaa989792a6c51da976 (diff) | |
download | aur-9903b568192c3b872b496a852848efa32b95aac4.tar.gz |
Merge pull request #2 from mij-aur-packages/update-pkg
Update pkg (1.07.6)
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | ttf.install | 16 |
3 files changed, 10 insertions, 29 deletions
@@ -1,9 +1,8 @@ pkgbase = ttf-liberation-sans-narrow pkgdesc = Red Hat's Liberation Sans Narrow - pkgver = 1.07.4 + pkgver = 1.07.6 pkgrel = 1 - url = https://www.redhat.com/promo/fonts/ - install = ttf.install + url = https://github.com/liberationfonts/liberation-sans-narrow arch = any license = custom license = GPL2 @@ -12,9 +11,9 @@ pkgbase = ttf-liberation-sans-narrow depends = xorg-font-utils optdepends = ttf-liberation: Main liberation fonts provides = ttf-font - source = https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-1.07.4.tar.gz + source = https://github.com/liberationfonts/liberation-sans-narrow/files/2579431/liberation-narrow-fonts-ttf-1.07.6.tar.gz source = 30-0-liberation-sans-narrow.conf - sha256sums = 61a7e2b6742a43c73e8762cdfeaf6dfcf9abdd2cfa0b099a9854d69bc4cfee5c + sha256sums = 8879d89b5ff7b506c9fc28efc31a5c0b954bbe9333e66e5283d27d20a8519ea3 sha256sums = b9da42411e2035d87a366c7de9f85004e681a2fc4ea7dd82a17e7a1ce9715908 pkgname = ttf-liberation-sans-narrow @@ -8,23 +8,22 @@ # Package Repository: https://github.com/mij-aur-packages/ttf-liberation-sans-narrow pkgname=ttf-liberation-sans-narrow -pkgver=1.07.4 +pkgver=1.07.6 pkgrel=1 pkgdesc="Red Hat's Liberation Sans Narrow" arch=('any') license=('custom' 'GPL2') -url='https://www.redhat.com/promo/fonts/' +url='https://github.com/liberationfonts/liberation-sans-narrow' depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils') optdepends=('ttf-liberation: Main liberation fonts') provides=('ttf-font') -install=ttf.install -source=("https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-$pkgver.tar.gz" +source=("https://github.com/liberationfonts/liberation-sans-narrow/files/2579431/liberation-narrow-fonts-ttf-${pkgver}.tar.gz" 30-0-liberation-sans-narrow.conf) -sha256sums=('61a7e2b6742a43c73e8762cdfeaf6dfcf9abdd2cfa0b099a9854d69bc4cfee5c' +sha256sums=('8879d89b5ff7b506c9fc28efc31a5c0b954bbe9333e66e5283d27d20a8519ea3' 'b9da42411e2035d87a366c7de9f85004e681a2fc4ea7dd82a17e7a1ce9715908') package() { - cd "$srcdir/liberation-fonts-ttf-$pkgver" + cd "$srcdir/liberation-narrow-fonts-ttf-$pkgver" install -d "$pkgdir/usr/share/fonts/TTF/" install -m644 LiberationSansNarrow*.ttf "$pkgdir/usr/share/fonts/TTF/" @@ -33,6 +32,5 @@ package() { install -Dm0644 ../30-0-liberation-sans-narrow.conf "$pkgdir/etc/fonts/conf.avail/30-$pkgname-sans.conf" # install license - install -Dm644 "${srcdir}/liberation-fonts-ttf-${pkgver}/License.txt" \ - "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 License.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/ttf.install b/ttf.install deleted file mode 100644 index a09a020334ad..000000000000 --- a/ttf.install +++ /dev/null @@ -1,16 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -s > /dev/null - mkfontscale /usr/share/fonts/TTF - mkfontdir /usr/share/fonts/TTF - echo "done." -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} - |