diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 21 |
3 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bd85e5c48dbf --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = otf-work-sans + pkgver = 1.6 + pkgrel = 1 + url = http://weiweihuanghuang.github.io/Work-Sans/ + arch = any + license = custom:OFL + depends = fontconfig + provides = otf-work-sans-ibx + conflicts = otf-work-sans-ibx + replaces = otf-work-sans-ibx + source = https://github.com/weiweihuanghuang/Work-Sans/archive/v1.6.tar.gz + sha512sums = a8e37c867b188285d6145907b5b1deabfb8373a6ab73b0e5ff5159352cc6d3f083217b667fb53eb6637920ffb24467eb18cd26a347428ba6e9587e44f11974a4 + +pkgname = otf-work-sans + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..5db79a8263ea --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/pkg/ +/src/ +/*.tar +/*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..eb3d56121e1e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Adrian Perez de Castro <aperez@igalia.com> +pkgdecs='Typeface based loosely on early Grotesques with extensive OpenType features' +pkgname='otf-work-sans' +pkgver='1.6' +pkgrel='1' +replaces=('otf-work-sans-ibx') +provides=('otf-work-sans-ibx') +conflicts=('otf-work-sans-ibx') +depends=('fontconfig') +arch=('any') +license=('custom:OFL') +url='http://weiweihuanghuang.github.io/Work-Sans/' +source=("https://github.com/weiweihuanghuang/Work-Sans/archive/v${pkgver}.tar.gz") +sha512sums=('a8e37c867b188285d6145907b5b1deabfb8373a6ab73b0e5ff5159352cc6d3f083217b667fb53eb6637920ffb24467eb18cd26a347428ba6e9587e44f11974a4') + +package () { + cd "Work-Sans-${pkgver}" + install -m755 -d "${pkgdir}/usr/share/fonts/${pkgname}" + install -m644 -t "${pkgdir}/usr/share/fonts/${pkgname}" fonts/desktop/*.otf + install -m644 -D LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +} |