summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/culmus-latex/PKGBUILD22
-rw-r--r--pcr/culmus-latex/culmus-latex.install22
-rw-r--r--pcr/culmus/PKGBUILD44
-rw-r--r--pcr/culmus/culmus-0.121-fontconfig_fix.patch203
-rw-r--r--pcr/culmus/culmus.install41
-rw-r--r--pcr/mathjax/PKGBUILD21
-rw-r--r--pcr/mimms/PKGBUILD30
-rw-r--r--pcr/otf-stix/PKGBUILD37
-rw-r--r--pcr/otf-stix/otf-stix.install16
-rw-r--r--pcr/tanglet/PKGBUILD28
-rw-r--r--pcr/tanglet/tanglet.install11
-rw-r--r--pcr/ttf-asana-math/PKGBUILD30
-rw-r--r--pcr/ttf-asana-math/ttf-asana-math.install11
-rw-r--r--pcr/youtube-dl-current/PKGBUILD31
14 files changed, 547 insertions, 0 deletions
diff --git a/pcr/culmus-latex/PKGBUILD b/pcr/culmus-latex/PKGBUILD
new file mode 100644
index 000000000..251ba0518
--- /dev/null
+++ b/pcr/culmus-latex/PKGBUILD
@@ -0,0 +1,22 @@
+#Contributor (Arch): Dmitry Batenkov <dima dot batenkov at gmail dot
+com>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# taken from https://aur.archlinux.org/packages/culmus-latex/
+
+pkgname=culmus-latex
+pkgver=0.7.1
+pkgrel=1
+pkgdesc="Culmus Hebrew fonts for LaTeX"
+arch=('i686' 'x86_64')
+url="http://ivritex.sourceforge.net/"
+depends=('culmus' 'texlive-core' 'texlive-bin')
+install=culmus-latex.install
+license=('GPL')
+source=(http://downloads.sourceforge.net/project/ivritex/culmus-latex/culmus-latex-0.7/culmus-latex-0.7-r1.tar.gz)
+md5sums=('0c6f6d5b9e7a0d6ba59fc55680ed48a5')
+
+build(){
+ cd ${srcdir}/${pkgname}-0.7-r1 || return 1
+ mkdir -p $pkgdir/usr/share/texmf || return 1
+ make DESTDIR=$pkgdir pkginstall
+}
diff --git a/pcr/culmus-latex/culmus-latex.install b/pcr/culmus-latex/culmus-latex.install
new file mode 100644
index 000000000..4c6529865
--- /dev/null
+++ b/pcr/culmus-latex/culmus-latex.install
@@ -0,0 +1,22 @@
+
+## arg 1: the new package version
+#pre_install() {
+ # do something here
+#}
+
+## arg 1: the new package version
+post_install() {
+ mktexlsr
+ updmap-sys --enable Map=culmus.map
+}
+
+post_upgrade() {
+ mktexlsr
+ updmap-sys --enable Map=culmus.map
+}
+
+## arg 1: the old package version
+post_remove() {
+ mktexlsr
+ updmap-sys --disable culmus.map
+}
diff --git a/pcr/culmus/PKGBUILD b/pcr/culmus/PKGBUILD
new file mode 100644
index 000000000..3d1a5f567
--- /dev/null
+++ b/pcr/culmus/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer (Arch): Ivan Puntiy <ivan.puntiy at gmail>
+# Contributor (Arch): <francois.archlinux.org>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# taken from https://aur.archlinux.org/packages/culmus/
+
+pkgname=culmus
+pkgver=0.130
+pkgrel=1
+pkgdesc="A collection of Type1 and TrueType Hebrew fonts"
+arch=('any')
+url="http://culmus.sourceforge.net"
+license=('GPL2')
+depends=('fontconfig' 'xorg-fonts-alias' 'xorg-font-utils' 'xorg-fonts-encodings')
+install=${pkgname}.install
+source=(
+ "http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ "$pkgname-0.121-fontconfig_fix.patch"
+)
+md5sums=('58e672defde4caeae42017cd2f9436a6'
+ '6db715a072d9602a54c69a7e31a6428f')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # fix due to fontconfig 2.10.1 update - patch mailed to upstream
+ patch culmus.conf "$srcdir/$pkgname-0.121-fontconfig_fix.patch"
+}
+
+package() {
+ # install Type1 fonts
+ install -d ${pkgdir}/usr/share/fonts/Type1
+ install -m644 ${srcdir}/culmus-$pkgver/*.{afm,pfa} \
+ ${pkgdir}/usr/share/fonts/Type1
+
+ # install ttf fonts
+ install -d ${pkgdir}/usr/share/fonts/TTF
+ install -m644 ${srcdir}/culmus-$pkgver/*.ttf \
+ ${pkgdir}/usr/share/fonts/TTF
+
+ # install provided config file with priority 61
+ install -d ${pkgdir}/etc/fonts/conf.avail/
+ install -m644 ${srcdir}/culmus-$pkgver/culmus.conf \
+ ${pkgdir}/etc/fonts/conf.avail/61-culmus.conf
+}
diff --git a/pcr/culmus/culmus-0.121-fontconfig_fix.patch b/pcr/culmus/culmus-0.121-fontconfig_fix.patch
new file mode 100644
index 000000000..d303cbb09
--- /dev/null
+++ b/pcr/culmus/culmus-0.121-fontconfig_fix.patch
@@ -0,0 +1,203 @@
+--- culmus.conf.original 2011-12-20 22:21:43.509488367 +0200
++++ culmus.conf.fixed 2012-09-09 21:14:42.401273058 +0300
+@@ -8,6 +8,17 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Guttman Adii</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>David CLM</string>
++ </edit>
++ <edit mode="assign" binding="same" name="slant" >
++ <const>italic</const>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Adii-Light</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -30,6 +41,14 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Guttman Stam</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Stam Ashkenaz CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Stam1</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -40,6 +59,14 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Guttman Hodes</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Hadasim CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Monotype Hadassah</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -50,7 +77,23 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Aharoni</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Aharoni CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Aharoni</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Aharoni CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman-Aharoni</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -61,7 +104,23 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>FrankRuehl</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Frank Ruehl CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Frank</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Frank Ruehl CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Frnew</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -72,7 +131,23 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>David</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>David CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>David Transparent</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>David CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman David</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -83,8 +158,32 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Fixed Miriam Transparent</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Miriam Mono CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Myamfix</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Miriam Mono CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman-CourMir</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Miriam Mono CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Miriam Fixed</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -95,8 +194,32 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Guttman Miryam</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Miriam CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Levenim MT</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Miriam CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Miriam</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Miriam CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Miriam Transparent</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -107,6 +230,14 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Guttman Drogolin</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Drugulin CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Vilna</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
diff --git a/pcr/culmus/culmus.install b/pcr/culmus/culmus.install
new file mode 100644
index 000000000..1376ca5ce
--- /dev/null
+++ b/pcr/culmus/culmus.install
@@ -0,0 +1,41 @@
+configs=('61-culmus.conf')
+
+update_fontcache() {
+ fc-cache -fs
+ mkfontscale /usr/share/fonts/Type1
+ mkfontdir /usr/share/fonts/Type1
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+}
+
+post_install() {
+ pushd /etc/fonts/conf.d > /dev/null
+ for config in "${configs[@]}"; do
+ ln -sf ../conf.avail/${config} .
+ done
+ popd > /dev/null
+
+ update_fontcache
+}
+
+post_upgrade() {
+ if [ "`vercmp 0.102-1 $2`" != "-1" ] || [ ! -L /etc/fonts/conf.d/61-culmus.conf ]; then
+ pushd /etc/fonts/conf.d > /dev/null
+ for config in "${configs[@]}"; do
+ ln -sf ../conf.avail/${config} .
+ done
+ popd > /dev/null
+ fi
+
+ update_fontcache
+}
+
+post_remove() {
+ pushd /etc/fonts/conf.d > /dev/null
+ for config in "${configs[@]}"; do
+ rm -f ${config}
+ done
+ popd > /dev/null
+
+ update_fontcache
+}
diff --git a/pcr/mathjax/PKGBUILD b/pcr/mathjax/PKGBUILD
new file mode 100644
index 000000000..47f581fa1
--- /dev/null
+++ b/pcr/mathjax/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer (Arch): Tianjiao Yin <ytj000@gmail.com>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+#taken from https://aur.archlinux.org/packages/mathjax/
+
+pkgname=mathjax
+pkgver=2.1
+pkgrel=1
+pkgdesc='An open source JavaScript display engine for mathematics that works in all modern browsers'
+url='http://www.mathjax.org/'
+arch=('any')
+license=('apache')
+options=('!strip')
+source=('https://github.com/mathjax/MathJax/archive/v2.1.tar.gz')
+
+build() {
+ mkdir -p $pkgdir/usr/share
+ mv $srcdir/MathJax-* $pkgdir/usr/share/mathjax
+}
+
+
+md5sums=('8e7ad1b8f3a69be8ec83f21d3e2a509c')
diff --git a/pcr/mimms/PKGBUILD b/pcr/mimms/PKGBUILD
new file mode 100644
index 000000000..3697c1a3b
--- /dev/null
+++ b/pcr/mimms/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer (Arch): Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# taken from https://aur.archlinux.org/packages/mimms/
+
+pkgname=mimms
+pkgver=3.2.1
+pkgrel=2
+pkgdesc="Download streams using the MMS protocol and save them to your
+computer"
+arch=('any')
+url="http://savannah.nongnu.org/projects/mimms/"
+license=('GPL3')
+depends=('libmms' 'python2')
+source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('ec629d8899551b4789ba15c17402c36f')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+#Python2 fix
+ sed -i "s/python/python2/g" Makefile
+
+ make
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ make DESTDIR=${pkgdir} install
+}
diff --git a/pcr/otf-stix/PKGBUILD b/pcr/otf-stix/PKGBUILD
new file mode 100644
index 000000000..60fc88680
--- /dev/null
+++ b/pcr/otf-stix/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer (Arch): ezzetabi <ezzetabi at gawab dot com>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# taken from https://aur.archlinux.org/packages/otf-stix/
+
+pkgname=otf-stix
+pkgver=1.1.0
+#_pkgver=${pkgver//_/-}
+pkgrel=1
+epoch=2
+pkgdesc='A comprehensive set of fonts that serve the scientific and
+engineering community.'
+arch=('any')
+url="http://www.stixfonts.org"
+license=('Custom: OFL')
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+makedepends=('unzip')
+install=otf-stix.install
+source=("http://downloads.sourceforge.net/stixfonts/STIXv$pkgver.zip"
+'http://www.stixfonts.org/STIXFontLicense2010.txt')
+
+build() {
+ /bin/true
+}
+
+package() {
+ cd "$srcdir"
+
+ install -m755 -d "$pkgdir/usr/share/fonts/OTF"
+ install -m644 Fonts/STIX-General/*.otf "$pkgdir/usr/share/fonts/OTF"
+ install -m644 Fonts/STIX-Word/*.otf "$pkgdir/usr/share/fonts/OTF"
+ install -Dm644 "$srcdir"/STIXFontLicense2010.txt \
+ "$pkgdir"/usr/share/licenses/"$pkgname"/license.txt
+}
+
+md5sums=('e5ebc8ef9b7df0f0bac0fd90bce95295'
+'b1af7bbd3cea93a60bf68cf571ad6cab')
+
diff --git a/pcr/otf-stix/otf-stix.install b/pcr/otf-stix/otf-stix.install
new file mode 100644
index 000000000..5d66bc226
--- /dev/null
+++ b/pcr/otf-stix/otf-stix.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -s
+ mkfontscale /usr/share/fonts/OTF
+ mkfontdir /usr/share/fonts/OTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
diff --git a/pcr/tanglet/PKGBUILD b/pcr/tanglet/PKGBUILD
new file mode 100644
index 000000000..23e20cd6c
--- /dev/null
+++ b/pcr/tanglet/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer (Arch): Graeme Gott <graeme@gottcode.org>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# Based on https://aur.archlinux.org/packages.php?ID=32311
+
+pkgname=tanglet
+pkgver=1.2.1
+pkgrel=3
+pkgdesc="A single player word finding game based on Boggle."
+arch=('i686' 'x86_64')
+url="http://gottcode.org/${pkgname}/"
+license=('GPL3')
+depends=('qt4')
+install=${pkgname}.install
+source=(http://gottcode.org/${pkgname}/${pkgname}-${pkgver}-src.tar.bz2)
+md5sums=('109ad08a03cc64808fa2caad6c3a4a7c')
+sha256sums=('94f4c5c76020ec1fe502ff076fbe5471e497d4b7bcabd1e9059e1022d1ce80c8')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ qmake-qt4 PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make INSTALL_ROOT="${pkgdir}/" install
+}
+
diff --git a/pcr/tanglet/tanglet.install b/pcr/tanglet/tanglet.install
new file mode 100644
index 000000000..e70c054ec
--- /dev/null
+++ b/pcr/tanglet/tanglet.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/pcr/ttf-asana-math/PKGBUILD b/pcr/ttf-asana-math/PKGBUILD
new file mode 100644
index 000000000..b8bd85dcc
--- /dev/null
+++ b/pcr/ttf-asana-math/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer (Arch): GordonGR <gordongr@freemail.gr>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# taken from https://aur.archlinux.org/packages/ttf-asana-math/
+
+pkgname=ttf-asana-math
+pkgver=000.949
+pkgrel=1
+license=('Custom: OFL')
+depends=('fontconfig' 'xorg-font-utils')
+pkgdesc="A font to typeset maths in Xe(La)TeX and Lua(La)TeX by Apostolos Syropoulos"
+arch=('any')
+url="http://www.ctan.org/pkg/asana-math"
+source=("ftp://ftp.rrzn.uni-hannover.de/pub/mirror/tex-archive/fonts/Asana-Math/Asana-Math.otf"
+"ftp://ftp.rrzn.uni-hannover.de/pub/mirror/tex-archive/fonts/Asana-Math/Asana-Math.ttf"
+"http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=OFL_plaintext&filename=OFL.txt")
+md5sums=('d9f9faa296a12a14354d9e83c90f167b'
+ 'd7a05892aeed8bbe4b410bf845ce9882'
+ '6ed93967ff0dc6dd9c8d31c17f817a06')
+install=$pkgname.install
+
+build()
+{
+ mkdir -p $pkgdir/usr/share/fonts/TTF
+ mkdir -p $pkgdir/usr/share/fonts/OTF
+ cp *.ttf $pkgdir/usr/share/fonts/TTF
+ cp *.otf $pkgdir/usr/share/fonts/OTF
+ mkdir -p $pkgdir/usr/share/licenses/custom/ttf-asana-math/
+ mv 'render_download.php?&format=file&media_id=OFL_plaintext&filename=OFL.txt' LICENSE
+ cp LICENSE $pkgdir/usr/share/licenses/custom/ttf-asana-math/
+}
diff --git a/pcr/ttf-asana-math/ttf-asana-math.install b/pcr/ttf-asana-math/ttf-asana-math.install
new file mode 100644
index 000000000..506595662
--- /dev/null
+++ b/pcr/ttf-asana-math/ttf-asana-math.install
@@ -0,0 +1,11 @@
+ post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -fs >/dev/null
+ mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1
+ mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1
+ echo "done"
+}
+
+post_upgrade() {
+ post_install
+} \ No newline at end of file
diff --git a/pcr/youtube-dl-current/PKGBUILD b/pcr/youtube-dl-current/PKGBUILD
new file mode 100644
index 000000000..bb79e9cc4
--- /dev/null
+++ b/pcr/youtube-dl-current/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer (Arch): Eric BĂ©langer <eric@archlinux.org>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# Based on https://www.archlinux.org/packages/community/any/youtube-dl/
+
+pkgname=youtube-dl-current
+_pkgname=youtube-dl
+provides=(youtube-dl)
+pkgver=2013.07.12
+pkgrel=1
+pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites"
+arch=('any')
+url="http://rg3.github.io/youtube-dl/"
+license=('custom')
+depends=('python')
+makedepends=('python-distribute')
+source=(http://youtube-dl.org/downloads/${pkgver}/${_pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('5549a8be5054eaf02470da8955b838a0'
+ 'SKIP')
+
+prepare() {
+ cd ${_pkgname}
+ sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py
+}
+
+package() {
+ cd ${_pkgname}
+ python setup.py install --root="${pkgdir}/" --optimize=1
+ mv "${pkgdir}/usr/share/bash-completion/completions/youtube-dl.bash-completion" \
+ "${pkgdir}/usr/share/bash-completion/completions/youtube-dl"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+}