diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-17 05:19:48 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-17 05:19:48 -0300 |
commit | 0a32dd5aab83123487e6988ec37e7e5385c3aef6 (patch) | |
tree | 760f093c15bf512361439acc7b998f04fdd0cb5b /pcr | |
parent | 7d3151cb257dcb2aeacf52bad5d96041677754a2 (diff) | |
parent | 201a3a8a986287b2f54d01e7c5e4bbeba8c37040 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/culmus-latex/PKGBUILD | 22 | ||||
-rw-r--r-- | pcr/culmus-latex/culmus-latex.install | 22 | ||||
-rw-r--r-- | pcr/culmus/PKGBUILD | 44 | ||||
-rw-r--r-- | pcr/culmus/culmus-0.121-fontconfig_fix.patch | 203 | ||||
-rw-r--r-- | pcr/culmus/culmus.install | 41 | ||||
-rw-r--r-- | pcr/mathjax/PKGBUILD | 21 | ||||
-rw-r--r-- | pcr/mimms/PKGBUILD | 30 | ||||
-rw-r--r-- | pcr/miniupnpd/PKGBUILD | 10 | ||||
-rw-r--r-- | pcr/otf-stix/PKGBUILD | 37 | ||||
-rw-r--r-- | pcr/otf-stix/otf-stix.install | 16 | ||||
-rw-r--r-- | pcr/python-blinker/PKGBUILD | 19 | ||||
-rw-r--r-- | pcr/python-feedgenerator/PKGBUILD | 18 | ||||
-rw-r--r-- | pcr/python-pelican/PKGBUILD | 20 | ||||
-rw-r--r-- | pcr/python-unidecode/PKGBUILD | 18 | ||||
-rw-r--r-- | pcr/tanglet/PKGBUILD | 28 | ||||
-rw-r--r-- | pcr/tanglet/tanglet.install | 11 | ||||
-rw-r--r-- | pcr/ttf-asana-math/PKGBUILD | 30 | ||||
-rw-r--r-- | pcr/ttf-asana-math/ttf-asana-math.install | 11 | ||||
-rw-r--r-- | pcr/youtube-dl-current/PKGBUILD | 31 |
19 files changed, 626 insertions, 6 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/miniupnpd/PKGBUILD b/pcr/miniupnpd/PKGBUILD index da6f373c9..e88427488 100644 --- a/pcr/miniupnpd/PKGBUILD +++ b/pcr/miniupnpd/PKGBUILD @@ -1,8 +1,8 @@ # $Id$ # Maintainer: fauno <fauno@parabola.nu> pkgname=miniupnpd -pkgver=1.8.20130503 -pkgrel=3 +pkgver=1.8.20130607 +pkgrel=1 pkgdesc="Lightweight UPnP IGD daemon" arch=('i686' 'x86_64' 'mips64el') url="http://miniupnp.free.fr" @@ -12,8 +12,6 @@ depends=('libnfnetlink' 'iptables>=1.4.3' 'net-tools') makedepends=('lsb-release') source=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz" miniupnpd.systemd) -md5sums=('484dbda7c428b2d5f3768500a48d3375' - '0c3f1777b6c043dd5029092d62896660') build() { cd "$srcdir/$pkgname-$pkgver" @@ -41,5 +39,5 @@ package() { cd "$pkgdir" mv usr/sbin usr/bin } -md5sums=('484dbda7c428b2d5f3768500a48d3375' - 'f862f79b673359adc80faf0be914394f') +md5sums=('55688b5eb5025095b1da49f841e62792' + '0c3f1777b6c043dd5029092d62896660') 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/python-blinker/PKGBUILD b/pcr/python-blinker/PKGBUILD new file mode 100644 index 000000000..00dc3cdad --- /dev/null +++ b/pcr/python-blinker/PKGBUILD @@ -0,0 +1,19 @@ +pkgname=python-blinker +pkgver=1.3 +pkgrel=1 +pkgdesc="Fast, simple object-to-object and broadcast signaling" +arch=("any") +url="http://pythonhosted.org/blinker/" +license=('custom') +depends=('python') +options=(!emptydirs) +source=("https://pypi.python.org/packages/source/b/blinker/blinker-$pkgver.tar.gz") +md5sums=('66e9688f2d287593a0e698cd8a5fbc57') + +package() { + cd "$srcdir/blinker-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/python-feedgenerator/PKGBUILD b/pcr/python-feedgenerator/PKGBUILD new file mode 100644 index 000000000..0f0d65952 --- /dev/null +++ b/pcr/python-feedgenerator/PKGBUILD @@ -0,0 +1,18 @@ +pkgname=python-feedgenerator +pkgver=1.6 +pkgrel=1 +pkgdesc="Standalone version of django.utils.feedgenerator" +arch=("any") +url="https://github.com/dmdm/feedgenerator-py3k.git" +license=('custom:BSD') +depends=('python' 'python-distribute' 'python-pytz' 'python-six') +options=(!emptydirs) +source=("https://pypi.python.org/packages/source/f/feedgenerator/feedgenerator-$pkgver.tar.gz") +md5sums=('63f6f8529a1ae877715124328edea196') + +package() { + cd "$srcdir/feedgenerator-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/python-pelican/PKGBUILD b/pcr/python-pelican/PKGBUILD new file mode 100644 index 000000000..6d250a014 --- /dev/null +++ b/pcr/python-pelican/PKGBUILD @@ -0,0 +1,20 @@ +pkgname=python-pelican +pkgver=3.2.2 +pkgrel=1 +pkgdesc="Static blog generator" +arch=("any") +url="http://getpelican.com/" +license=('AGPL3') +depends=('python' 'python-feedgenerator' 'python-jinja' 'python-pygments' + 'python-docutils' 'python-pytz' 'python-blinker' 'python-unidecode' + 'python-six' 'python-distribute') +options=(!emptydirs) +source=("https://pypi.python.org/packages/source/p/pelican/pelican-$pkgver.tar.gz") +md5sums=('cf9af2669dbd84c3e83b546b70b1a78c') + +package() { + cd "$srcdir/pelican-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/python-unidecode/PKGBUILD b/pcr/python-unidecode/PKGBUILD new file mode 100644 index 000000000..1a605c28e --- /dev/null +++ b/pcr/python-unidecode/PKGBUILD @@ -0,0 +1,18 @@ +pkgname=python-unidecode +pkgver=0.04.13 +pkgrel=1 +pkgdesc="ASCII transliterations of Unicode text" +arch=("any") +url="https://pypi.python.org/pypi/Unidecode" +license=('GPL2') +depends=('python') +options=(!emptydirs) +source=("https://pypi.python.org/packages/source/U/Unidecode/Unidecode-$pkgver.tar.gz") +md5sums=('74fabcc0aa3c3b185181df7fce8cab09') + +package() { + cd "$srcdir/Unidecode-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: 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..e4817a84e --- /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.17 +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=('e7c96d402a499589364d6cf64a123f89' + '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" +} |