diff options
author | Ashymad | 2018-07-12 14:45:46 +0200 |
---|---|---|
committer | Ashymad | 2018-07-12 14:45:46 +0200 |
commit | 6e45c1b25f0dc8489618b31867a976f4a454e60b (patch) | |
tree | 93e73b8c9ab18170932cb3db5fe72c28ed054596 /PKGBUILD | |
parent | 93609ec98e99939b0dfe28a2b0928443fa173048 (diff) | |
download | aur-6e45c1b25f0dc8489618b31867a976f4a454e60b.tar.gz |
Better version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 8 insertions, 13 deletions
@@ -1,25 +1,20 @@ # Maintainer: Ashymad <czilukim@o2.pl> pkgname="otf-code-new-roman" -pkgver="2.0" -pkgrel=3 +pkgver="2.1" +pkgrel=1 pkgdesc='Monospaced font aimed for use in programming environments' arch=('any') url='http://fb.com/Code.New.Roman' license=('custom') depends=(fontconfig xorg-font-utils) -source=('CodeNewRoman-Bold.ttf::https://github.com/chrissimpkins/codeface/raw/master/fonts/code-new-roman/Code%20New%20Roman-Bold.otf' - 'CodeNewRoman-Italic.ttf::https://github.com/chrissimpkins/codeface/raw/master/fonts/code-new-roman/Code%20New%20Roman-Italic.otf' - 'CodeNewRoman-Regular.ttf::https://github.com/chrissimpkins/codeface/raw/master/fonts/code-new-roman/Code%20New%20Roman-Regular.otf' - 'https://github.com/chrissimpkins/codeface/raw/master/fonts/code-new-roman/license.txt') +source=('https://fontain.org/code-new-roman/export/otf/code-new-roman.otf.zip') -sha256sums=('42d7dd94691a24bc3aece8489c24c8050250b320a6ec1d250115dafbfa0314f3' - '3d2f971aa1829cca3df46cdf9f4385c57afba9e507b1821ba64d73dc1cc7ec08' - 'dfa19137778f3af70380f68452dc1c2ab364597cddda80a10819e46e35c1b984' - 'bd5d5113498de3036d9d5c9c11d0f744cd79d31146f27ef6f7bcf8877acfdd94') +sha256sums=('88e0fb4a3683e50e14d52722924b7ea7d0893910c39f65bf071ae100f0b75bf7') + package() { cd "$srcdir" - mkdir -p "$pkgdir/usr/share/fonts/TTF/" - install -Dm644 *.ttf "$pkgdir/usr/share/fonts/TTF/" - install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + mkdir -p "$pkgdir/usr/share/fonts/OTF/" + install -Dm644 *.otf "$pkgdir/usr/share/fonts/OTF/" + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |