summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoramoka2017-08-18 22:24:05 -0400
committeramoka2017-08-18 22:24:05 -0400
commitb23ad24a4bc5b20b20536cdb321dae447bee5bcd (patch)
tree52c08580e8d7fe0e7dbe4a5aab7fac2c45d1b497
downloadaur-b23ad24a4bc5b20b20536cdb321dae447bee5bcd.tar.gz
first commit
-rw-r--r--.SRCINFO19
-rw-r--r--65-ubuntu-arabic.conf40
-rw-r--r--LICENCE.txt96
-rwxr-xr-xPKGBUILD26
4 files changed, 181 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..d7a17e04793f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = ttf-ubuntu-arabic
+ pkgdesc = Public release of Arabic font to Ubuntu Xenial Xerus
+ pkgver = 0.84+arabic
+ pkgrel = 1
+ url = https://launchpad.net/ubuntu/+source/ubuntu-font-family-sources/0.84~mono0.83+arabicfontconfig-0ubuntu1
+ arch = any
+ license = custom:Ubuntu Font Licence 1.0
+ depends = fontconfig
+ depends = xorg-font-utils
+ provides = ttf-font
+ source = https://launchpad.net/ubuntu/+archive/primary/+files/ubuntu-font-family-sources_0.84~mono0.83+arabicfontconfig.orig-arabicbeta.tar.gz
+ source = LICENCE.txt
+ source = 65-ubuntu-arabic.conf
+ md5sums = 561ba71ea16185e0fc389890c2631724
+ md5sums = 325a1a9029112a2405e743c7f816427b
+ md5sums = ccf8e318ee69498d0094f27e4a15d5ac
+
+pkgname = ttf-ubuntu-arabic
+
diff --git a/65-ubuntu-arabic.conf b/65-ubuntu-arabic.conf
new file mode 100644
index 000000000000..248c1ddd64f1
--- /dev/null
+++ b/65-ubuntu-arabic.conf
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <!-- Preferred fonts for Arabic -->
+ <match target="pattern">
+ <test name="lang" compare="contains">
+ <string>ar</string>
+ </test>
+ <test name="family">
+ <string>serif</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Ubuntu Arabic</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="lang" compare="contains">
+ <string>ar</string>
+ </test>
+ <test name="family">
+ <string>sans-serif</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Ubuntu Arabic</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="lang" compare="contains">
+ <string>ar</string>
+ </test>
+ <test name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Ubuntu Arabic</string>
+ </edit>
+ </match>
+
+</fontconfig>
diff --git a/LICENCE.txt b/LICENCE.txt
new file mode 100644
index 000000000000..ae78a8f94eae
--- /dev/null
+++ b/LICENCE.txt
@@ -0,0 +1,96 @@
+-------------------------------
+UBUNTU FONT LICENCE Version 1.0
+-------------------------------
+
+PREAMBLE
+This licence allows the licensed fonts to be used, studied, modified and
+redistributed freely. The fonts, including any derivative works, can be
+bundled, embedded, and redistributed provided the terms of this licence
+are met. The fonts and derivatives, however, cannot be released under
+any other licence. The requirement for fonts to remain under this
+licence does not require any document created using the fonts or their
+derivatives to be published under this licence, as long as the primary
+purpose of the document is not to be a vehicle for the distribution of
+the fonts.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this licence and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Original Version" refers to the collection of Font Software components
+as received under this licence.
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to
+a new environment.
+
+"Copyright Holder(s)" refers to all individuals and companies who have a
+copyright ownership of the Font Software.
+
+"Substantially Changed" refers to Modified Versions which can be easily
+identified as dissimilar to the Font Software by users of the Font
+Software comparing the Original Version with the Modified Version.
+
+To "Propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification and with or without charging
+a redistribution fee), making available to the public, and in some
+countries other activities as well.
+
+PERMISSION & CONDITIONS
+This licence does not grant any rights under trademark law and all such
+rights are reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of the Font Software, to propagate the Font Software, subject to
+the below conditions:
+
+1) Each copy of the Font Software must contain the above copyright
+notice and this licence. These can be included either as stand-alone
+text files, human-readable headers or in the appropriate machine-
+readable metadata fields within text or binary files as long as those
+fields can be easily viewed by the user.
+
+2) The font name complies with the following:
+(a) The Original Version must retain its name, unmodified.
+(b) Modified Versions which are Substantially Changed must be renamed to
+avoid use of the name of the Original Version or similar names entirely.
+(c) Modified Versions which are not Substantially Changed must be
+renamed to both (i) retain the name of the Original Version and (ii) add
+additional naming elements to distinguish the Modified Version from the
+Original Version. The name of such Modified Versions must be the name of
+the Original Version, with "derivative X" where X represents the name of
+the new work, appended to that name.
+
+3) The name(s) of the Copyright Holder(s) and any contributor to the
+Font Software shall not be used to promote, endorse or advertise any
+Modified Version, except (i) as required by this licence, (ii) to
+acknowledge the contribution(s) of the Copyright Holder(s) or (iii) with
+their explicit written permission.
+
+4) The Font Software, modified or unmodified, in part or in whole, must
+be distributed entirely under this licence, and must not be distributed
+under any other licence. The requirement for fonts to remain under this
+licence does not affect any document created using the Font Software,
+except any version of the Font Software extracted from a document
+created using the Font Software may only be distributed under this
+licence.
+
+TERMINATION
+This licence becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
+COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
+DEALINGS IN THE FONT SOFTWARE.
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 000000000000..a26563d02cba
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Amanoel Dawod <amanoel at outlook dot com>
+
+pkgname=ttf-ubuntu-arabic
+pkgver=0.84+arabic
+pkgrel=1
+pkgdesc="Public release of Arabic font to Ubuntu Xenial Xerus"
+arch=('any')
+url="https://launchpad.net/ubuntu/+source/ubuntu-font-family-sources/0.84~mono0.83+arabicfontconfig-0ubuntu1"
+license=('custom:Ubuntu Font Licence 1.0')
+depends=('fontconfig' 'xorg-font-utils')
+provides=('ttf-font')
+source=('https://launchpad.net/ubuntu/+archive/primary/+files/ubuntu-font-family-sources_0.84~mono0.83+arabicfontconfig.orig-arabicbeta.tar.gz'
+ 'LICENCE.txt'
+ '65-ubuntu-arabic.conf')
+md5sums=('561ba71ea16185e0fc389890c2631724'
+ '325a1a9029112a2405e743c7f816427b'
+ 'ccf8e318ee69498d0094f27e4a15d5ac')
+
+package() {
+ install -d ${pkgdir}/usr/share/fonts/TTF/ ${pkgdir}/etc/fonts/conf.d
+ install -m644 ${srcdir}/arabicbeta/*.ttf ${pkgdir}/usr/share/fonts/TTF/
+ install -D -m644 ${srcdir}/LICENCE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -D -m644 ${srcdir}/65-ubuntu-arabic.conf ${pkgdir}/etc/fonts/conf.avail/65-ubuntu-arabic.conf
+ ln -s ../conf.avail/65-ubuntu-arabic.conf ${pkgdir}/etc/fonts/conf.d/65-ubuntu-arabic.conf
+}