summaryrefslogtreecommitdiffstats
path: root/fonts-x11
diff options
context:
space:
mode:
authorIsmael Luceno2011-07-09 02:36:31 -0300
committerIsmael Luceno2011-07-09 02:43:02 -0300
commitcc4861ea5751d45cabd30acb670895d9d1a52a50 (patch)
tree8ec6c573359ad0d55f6d311f70c7a9ccbf99e059 /fonts-x11
parentc031a1f14950b1833495205704972808ca2c1f0c (diff)
ttf-neocyr: new spell
Diffstat (limited to 'fonts-x11')
-rwxr-xr-xfonts-x11/ttf-neocyr/BUILD1
-rwxr-xr-xfonts-x11/ttf-neocyr/DEPENDS1
-rwxr-xr-xfonts-x11/ttf-neocyr/DETAILS14
-rw-r--r--fonts-x11/ttf-neocyr/HISTORY2
-rwxr-xr-xfonts-x11/ttf-neocyr/INSTALL4
-rwxr-xr-xfonts-x11/ttf-neocyr/PRE_BUILD3
6 files changed, 25 insertions, 0 deletions
diff --git a/fonts-x11/ttf-neocyr/BUILD b/fonts-x11/ttf-neocyr/BUILD
new file mode 100755
index 0000000000..27ba77ddaf
--- /dev/null
+++ b/fonts-x11/ttf-neocyr/BUILD
@@ -0,0 +1 @@
+true
diff --git a/fonts-x11/ttf-neocyr/DEPENDS b/fonts-x11/ttf-neocyr/DEPENDS
new file mode 100755
index 0000000000..74ca5e3de8
--- /dev/null
+++ b/fonts-x11/ttf-neocyr/DEPENDS
@@ -0,0 +1 @@
+source $SECTION_DIRECTORY/X11_DEPENDS
diff --git a/fonts-x11/ttf-neocyr/DETAILS b/fonts-x11/ttf-neocyr/DETAILS
new file mode 100755
index 0000000000..721c73c5fb
--- /dev/null
+++ b/fonts-x11/ttf-neocyr/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=ttf-neocyr
+ FVERSION=ab264f5199213ec554b0eaa11ce18286
+ VERSION=20110622
+ SOURCE=${SPELL#ttf-}.zip
+ SOURCE_URL[0]=http://openfontlibrary.org/assets/downloads/${SPELL#ttf-}/$FVERSION/$SOURCE
+ SOURCE_HASH=sha512:ba8004f28386a3aebe74b37604d662f4247efe609ba418c0954dbdc1a6c1386cd142e2e2e1a81b7f9bc0c4f89c88a3496eb83bf55ded92a91ba1cef09eb3cb8f
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL#ttf-}
+ WEB_SITE=http://openfontlibrary.org/font/${SPELL#ttf-}
+ ENTERED=20110709
+ LICENSE[0]="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL"
+ SHORT="Neocyr Typeface"
+cat << EOF
+Neocyr is a decorative typeface that includes Latin and Cyrillic characters.
+EOF
diff --git a/fonts-x11/ttf-neocyr/HISTORY b/fonts-x11/ttf-neocyr/HISTORY
new file mode 100644
index 0000000000..803c795a34
--- /dev/null
+++ b/fonts-x11/ttf-neocyr/HISTORY
@@ -0,0 +1,2 @@
+2011-07-09 Ismael Luceno <ismael@sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL: spell created
diff --git a/fonts-x11/ttf-neocyr/INSTALL b/fonts-x11/ttf-neocyr/INSTALL
new file mode 100755
index 0000000000..2e22e75bd7
--- /dev/null
+++ b/fonts-x11/ttf-neocyr/INSTALL
@@ -0,0 +1,4 @@
+local FONT_DIR="$INSTALL_ROOT/usr/share/fonts/TTF"
+
+mkdir -p "$FONT_DIR" &&
+install -m 644 -o root -g root "$SOURCE_DIRECTORY"/ttf/*.ttf "$FONT_DIR"
diff --git a/fonts-x11/ttf-neocyr/PRE_BUILD b/fonts-x11/ttf-neocyr/PRE_BUILD
new file mode 100755
index 0000000000..fee3737273
--- /dev/null
+++ b/fonts-x11/ttf-neocyr/PRE_BUILD
@@ -0,0 +1,3 @@
+mk_source_dir $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+unpack_file