diff options
author | Marcos Heredia | 2015-06-09 11:31:17 -0300 |
---|---|---|
committer | Marcos Heredia | 2015-06-09 11:31:17 -0300 |
commit | 6c3faefb06754f11edda65a51a720330757e4481 (patch) | |
tree | 9675b3d8e34e440d9067297924be90e73e90a63f | |
download | aur-6c3faefb06754f11edda65a51a720330757e4481.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | updatefont.install | 15 |
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..55350d90d594 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = ttf-impallari-raleway-family + pkgdesc = Matt McInerney's Raleway family, from Pablo Impallari + pkgver = 3.0 + pkgrel = 1 + url = http://www.impallari.com/ + install = updatefont.install + arch = any + groups = impallari-fonts + license = custom:OFL + depends = fontconfig + depends = xorg-font-utils + provides = ttf-raleway + conflicts = ttf-raleway + source = http://www.impallari.com/media/uploads/prosources/update-100-source.zip + md5sums = fd753c68236f5c712a89bb798a90c4a1 + +pkgname = ttf-impallari-raleway-family + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a08cffa65503 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Marcos Heredia <chelqo@gmail.com> + +_font="raleway-family" +_group="impallari" +_update=100 +pkgname=ttf-${_group}-${_font} +pkgver=3.0 +pkgrel=1 +pkgdesc="Matt McInerney's Raleway family, from Pablo Impallari" +arch=(any) +url="http://www.impallari.com/" +license=('custom:OFL') +groups=("${_group}-fonts") +depends=('fontconfig' 'xorg-font-utils') +conflicts=('ttf-raleway') +provides=('ttf-raleway') +install=updatefont.install +source=("http://www.impallari.com/media/uploads/prosources/update-${_update}-source.zip") +md5sums=('fd753c68236f5c712a89bb798a90c4a1') + +package() { + cd ${srcdir}/r* + + install -dm755 "${pkgdir}/usr/share/fonts/TTF/${_group}" + install -Dpm644 *.ttf "${pkgdir}/usr/share/fonts/TTF/${_group}" + + install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}/" + install -Dpm644 OFL.txt "${pkgdir}/usr/share/licenses/${pkgname}/" + + install -dm755 "${pkgdir}/usr/share/doc/${pkgname}/" + install -Dpm644 FONTLOG.txt "${pkgdir}/usr/share/doc/${pkgname}/" +} diff --git a/updatefont.install b/updatefont.install new file mode 100644 index 000000000000..43e14fbd0cff --- /dev/null +++ b/updatefont.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |