From d384ab7781a27c2796b4591d40d7ac1918d04882 Mon Sep 17 00:00:00 2001 From: Alon Ivtsan Date: Tue, 16 Jul 2013 02:25:13 +0300 Subject: Adding youtube-dl-current PKGBUILD --- pcr/youtube-dl-current/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pcr/youtube-dl-current/PKGBUILD 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 +# Maintainer (Parabola): Alon Ivtsan +# 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" +} -- cgit v1.1-4-g5e80 From de25031b9839f64f7e41de83596015dec806aeb7 Mon Sep 17 00:00:00 2001 From: Alon Ivtsan Date: Tue, 16 Jul 2013 02:39:47 +0300 Subject: Adding tanglet PKGBUILD and install file --- pcr/tanglet/PKGBUILD | 28 ++++++++++++++++++++++++++++ pcr/tanglet/tanglet.install | 11 +++++++++++ 2 files changed, 39 insertions(+) create mode 100644 pcr/tanglet/PKGBUILD create mode 100644 pcr/tanglet/tanglet.install 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 +# Maintainer (Parabola): Alon Ivtsan +# 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 +} -- cgit v1.1-4-g5e80 From 54dcfb85d14c150b312cd932aed940c19bb05251 Mon Sep 17 00:00:00 2001 From: Alon Ivtsan Date: Tue, 16 Jul 2013 03:06:45 +0300 Subject: Adding culmus, patch and install file --- pcr/culmus/PKGBUILD | 44 ++++++ pcr/culmus/culmus-0.121-fontconfig_fix.patch | 203 +++++++++++++++++++++++++++ pcr/culmus/culmus.install | 41 ++++++ 3 files changed, 288 insertions(+) create mode 100644 pcr/culmus/PKGBUILD create mode 100644 pcr/culmus/culmus-0.121-fontconfig_fix.patch create mode 100644 pcr/culmus/culmus.install diff --git a/pcr/culmus/PKGBUILD b/pcr/culmus/PKGBUILD new file mode 100644 index 000000000..e7efc2adc --- /dev/null +++ b/pcr/culmus/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer (Arch): Ivan Puntiy +# Contributor (Arch): +# Maintainer (Parabola): Alon Ivtsan +# 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 @@ + + + Guttman Adii ++ ++ ++ David CLM ++ ++ ++ italic ++ ++ ++ ++ ++ + Guttman Adii-Light + + +@@ -30,6 +41,14 @@ + + + Guttman Stam ++ ++ ++ Stam Ashkenaz CLM ++ ++ ++ ++ ++ + Guttman Stam1 + + +@@ -40,6 +59,14 @@ + + + Guttman Hodes ++ ++ ++ Hadasim CLM ++ ++ ++ ++ ++ + Monotype Hadassah + + +@@ -50,7 +77,23 @@ + + + Aharoni ++ ++ ++ Aharoni CLM ++ ++ ++ ++ ++ + Guttman Aharoni ++ ++ ++ Aharoni CLM ++ ++ ++ ++ ++ + Guttman-Aharoni + + +@@ -61,7 +104,23 @@ + + + FrankRuehl ++ ++ ++ Frank Ruehl CLM ++ ++ ++ ++ ++ + Guttman Frank ++ ++ ++ Frank Ruehl CLM ++ ++ ++ ++ ++ + Guttman Frnew + + +@@ -72,7 +131,23 @@ + + + David ++ ++ ++ David CLM ++ ++ ++ ++ ++ + David Transparent ++ ++ ++ David CLM ++ ++ ++ ++ ++ + Guttman David + + +@@ -83,8 +158,32 @@ + + + Fixed Miriam Transparent ++ ++ ++ Miriam Mono CLM ++ ++ ++ ++ ++ + Guttman Myamfix ++ ++ ++ Miriam Mono CLM ++ ++ ++ ++ ++ + Guttman-CourMir ++ ++ ++ Miriam Mono CLM ++ ++ ++ ++ ++ + Miriam Fixed + + +@@ -95,8 +194,32 @@ + + + Guttman Miryam ++ ++ ++ Miriam CLM ++ ++ ++ ++ ++ + Levenim MT ++ ++ ++ Miriam CLM ++ ++ ++ ++ ++ + Miriam ++ ++ ++ Miriam CLM ++ ++ ++ ++ ++ + Miriam Transparent + + +@@ -107,6 +230,14 @@ + + + Guttman Drogolin ++ ++ ++ Drugulin CLM ++ ++ ++ ++ ++ + Guttman Vilna + + 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 +} -- cgit v1.1-4-g5e80 From 381adad7329e9884552152239162d402542d181f Mon Sep 17 00:00:00 2001 From: Alon Ivtsan Date: Tue, 16 Jul 2013 03:14:47 +0300 Subject: Adding culmus-latex PKGBUILD and install file --- pcr/culmus-latex/PKGBUILD | 22 ++++++++++++++++++++++ pcr/culmus-latex/culmus-latex.install | 22 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 pcr/culmus-latex/PKGBUILD create mode 100644 pcr/culmus-latex/culmus-latex.install 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 +# Maintainer (Parabola): Alon Ivtsan +# 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 +} -- cgit v1.1-4-g5e80 From 2697e6d80067efc6077f05cffbf263ea9e2c3ce3 Mon Sep 17 00:00:00 2001 From: Alon Ivtsan Date: Tue, 16 Jul 2013 03:16:24 +0300 Subject: Adding edited culmus PKGBUILD --- pcr/culmus/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcr/culmus/PKGBUILD b/pcr/culmus/PKGBUILD index e7efc2adc..3d1a5f567 100644 --- a/pcr/culmus/PKGBUILD +++ b/pcr/culmus/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer (Arch): Ivan Puntiy # Contributor (Arch): -# Maintainer (Parabola): Alon Ivtsan +# Maintainer (Parabola): Alon Ivtsan # taken from https://aur.archlinux.org/packages/culmus/ pkgname=culmus -- cgit v1.1-4-g5e80 From 7140c2f9c297a55a5f90aeb430d6f74ad2b9b1fc Mon Sep 17 00:00:00 2001 From: Alon Ivtsan Date: Tue, 16 Jul 2013 07:15:45 +0300 Subject: Adding mimms PKGBUILD --- pcr/mimms/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pcr/mimms/PKGBUILD 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 +# Maintainer (Parabola): Alon Ivtsan +# 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 +} -- cgit v1.1-4-g5e80 From 96aecc51358bf2489385d22e6c13e48f0ad749ef Mon Sep 17 00:00:00 2001 From: Alon Ivtsan Date: Tue, 16 Jul 2013 07:26:22 +0300 Subject: Adding otf-stix PKGBUILD and install file --- pcr/otf-stix/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ pcr/otf-stix/otf-stix.install | 16 ++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 pcr/otf-stix/PKGBUILD create mode 100644 pcr/otf-stix/otf-stix.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 +# Maintainer (Parabola): Alon Ivtsan +# 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 +} + -- cgit v1.1-4-g5e80 From 1fcae56d364f1c0d7b527c5386f17711e98b732e Mon Sep 17 00:00:00 2001 From: Alon Ivtsan Date: Tue, 16 Jul 2013 07:31:24 +0300 Subject: Adding ttf-asana-math PKGBUILD and install file --- pcr/ttf-asana-math/PKGBUILD | 30 ++++++++++++++++++++++++++++++ pcr/ttf-asana-math/ttf-asana-math.install | 11 +++++++++++ 2 files changed, 41 insertions(+) create mode 100644 pcr/ttf-asana-math/PKGBUILD create mode 100644 pcr/ttf-asana-math/ttf-asana-math.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 +# Maintainer (Parabola): Alon Ivtsan +# 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 -- cgit v1.1-4-g5e80 From a831471210e19b14af0f4633aa44c7368ecae83f Mon Sep 17 00:00:00 2001 From: Alon Ivtsan Date: Tue, 16 Jul 2013 07:37:19 +0300 Subject: Adding mathjax PKGBUILD --- pcr/mathjax/PKGBUILD | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pcr/mathjax/PKGBUILD 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 +# Maintainer (Parabola): Alon Ivtsan +#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') -- cgit v1.1-4-g5e80