summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c7c084483aab..95085efc2d2e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 7165d555cef4..4a4f569f92dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}