diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 10 insertions, 8 deletions
@@ -1,12 +1,12 @@ pkgbase = otf-crimson-text pkgdesc = A font family for book production in the tradition of beautiful oldstyle typefaces pkgver = 2019.07 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = https://github.com/skosch/Crimson/ arch = any license = OFL - source = otf-crimson-text.zip::https://github.com/skosch/Crimson/archive/f8255058575d26ddf35ab0b2d5ab7832c40f7a1a.zip + source = otf-crimson-text-2019.07.zip::https://github.com/skosch/Crimson/archive/f8255058575d26ddf35ab0b2d5ab7832c40f7a1a.zip sha256sums = 751e1922bc3fc89bd545e7a6c28a6b8c0f28e266dce83f67fa6bd546672b6cad pkgname = otf-crimson-text @@ -3,19 +3,21 @@ # Contributor: Hilton Medeiros <medeiros.hilton at gmail.com> pkgname=otf-crimson-text +_pkgname=Crimson pkgver=2019.07 _ver=f8255058575d26ddf35ab0b2d5ab7832c40f7a1a -pkgrel=1 +pkgrel=2 epoch=1 pkgdesc="A font family for book production in the tradition of beautiful oldstyle typefaces" arch=('any') -url="https://github.com/skosch/Crimson/" +url="https://github.com/skosch/$_pkgname/" license=('OFL') -source=("$pkgname.zip::https://github.com/skosch/Crimson/archive/$_ver.zip") +source=("$pkgname-$pkgver.zip::https://github.com/skosch/$_pkgname/archive/$_ver.zip") sha256sums=('751e1922bc3fc89bd545e7a6c28a6b8c0f28e266dce83f67fa6bd546672b6cad') package() { - cd "$srcdir/Crimson-$_ver/Desktop Fonts" - install -d "$pkgdir/usr/share/fonts/OTF" - install -m644 OTF/*.otf "$pkgdir/usr/share/fonts/OTF/" + cd "$_pkgname-$_ver/" + install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" "Desktop Fonts/OTF"/*.otf + install -Dm66 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt + install -Dm66 -t "$pkgdir/usr/share/doc/$pkgname/" README.md Specimen/*.pdf } |