summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2018-02-21 13:19:47 +0300
committerCaleb Maclennan2018-02-21 13:22:56 +0300
commitc05652d106e2c7c2c517bbb4cfdafe43e531be4d (patch)
tree57d7bde568e6a487bd580ad441f329c4f62884e7
parent3a9322fadaa63a090291beab96ed031cfaa413df (diff)
downloadaur-c05652d106e2c7c2c517bbb4cfdafe43e531be4d.tar.gz
Adopt and update packaging
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD21
2 files changed, 16 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 375403fbd256..d27568e4d3a6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
# Generated by mksrcinfo v8
-# Fri Feb 16 17:32:17 UTC 2018
+# Wed Feb 21 10:22:42 UTC 2018
pkgbase = otf-raleway
- pkgdesc = A sans-serif typeface
+ pkgdesc = A sans-serif display typeface designed in a single thin weight
pkgver = 1
- pkgrel = 2
- url = http://theleagueofmoveabletype.com/raleway/
+ pkgrel = 3
+ url = http://theleagueofmoveabletype.com/raleway
arch = any
- license = OFL
+ license = custom:OFL
depends = fontconfig
depends = xorg-font-utils
source = https://github.com/theleagueof/raleway/archive/master.zip
diff --git a/PKGBUILD b/PKGBUILD
index 84272db83467..5c68448dc0f5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,21 @@
-# Contributor: Martin C. Doege <mdoege at compuserve dot com>
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+# Contributor: Martin C. Doege <mdoege at compuserve dot com>
# Contributor: Martin Florén <martin.floren@gmail.com>
pkgname=otf-raleway
+_fontname=raleway
pkgver=1
-pkgrel=2
-pkgdesc="A sans-serif typeface"
+pkgrel=3
+pkgdesc='A sans-serif display typeface designed in a single thin weight'
arch=('any')
-url="http://theleagueofmoveabletype.com/raleway/"
-license=('OFL')
+url='http://theleagueofmoveabletype.com/raleway'
+license=('custom:OFL')
depends=('fontconfig' 'xorg-font-utils')
-source=('https://github.com/theleagueof/raleway/archive/master.zip')
+source=("https://github.com/theleagueof/${_fontname}/archive/master.zip")
sha256sums=('f6ed3c96644d9f01f6dbe10c427b830811c0faf13127a776567ad8f9036c67d0')
package() {
- cd "$srcdir/raleway-master"
- install -Dm644 "Raleway Thin.otf" "$pkgdir/usr/share/fonts/OTF/Raleway Thin.otf"
- install -Dm644 "Open Font License.markdown" "$pkgdir/usr/share/licenses/$pkgname/Open Font License.markdown"
- install -m644 "Open Font License FAQ.markdown" "$pkgdir/usr/share/licenses/$pkgname/Open Font License FAQ.markdown"
+ cd ${_fontname}-master
+ install -Dm644 'Open Font License.markdown' $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 'Raleway Thin.otf' $pkgdir/usr/share/fonts/OTF/Raleway_Thin.otf
}