From 0f4dee0f15e56d85d9354b4d80e810b570e98e00 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 25 Apr 2013 11:54:20 -0300 Subject: Upgraded to ruby2 --- pcr/ruby-headers/PKGBUILD | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'pcr') diff --git a/pcr/ruby-headers/PKGBUILD b/pcr/ruby-headers/PKGBUILD index 855c7ff38..074205e79 100644 --- a/pcr/ruby-headers/PKGBUILD +++ b/pcr/ruby-headers/PKGBUILD @@ -3,29 +3,24 @@ pkgname=ruby-headers _pkgname=ruby -pkgver=1.9.3_p385 -_pkgver=1.9.3-p385 +pkgver=2.0.0_p0 +_pkgver=2.0.0-p0 pkgrel=1 pkgdesc="A package of all Ruby headers needed by some gems like ruby-debug." arch=('any') url="http://www.ruby-lang.org/en/" license=('GPL2' 'custom:Ruby') depends=("ruby=$pkgver") -source=("http://ftp.ruby-lang.org/pub/ruby/1.9/$_pkgname-$_pkgver.tar.bz2") - -build() { - /bin/true -} +source=("http://ftp.ruby-lang.org/pub/ruby/2.0/$_pkgname-$_pkgver.tar.bz2") package() { cd "$srcdir/$_pkgname-$_pkgver" - # Just to make sure, since currently we have /usr/include/ruby-1.9.1 for ruby 1.9.2 - _hdrdir=`ruby -e "require 'rbconfig'; puts Config::CONFIG['rubyhdrdir']"` + _hdrdir=`ruby -e "require 'rbconfig'; puts RbConfig::CONFIG['rubyhdrdir']"` install -d "$pkgdir$_hdrdir/$_pkgname-$_pkgver" install -m644 *.{h,inc} "$pkgdir$_hdrdir/$_pkgname-$_pkgver" install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } -md5sums=('5ec9aff670f4912b0f6f0e11e855ef6c') +md5sums=('895c1c581f8d28e8b3bb02472b2ccf6a') -- cgit v1.2.3 From 6bb91ff33ab7e35929e346854d8e5c558c4107cf Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 25 Apr 2013 12:22:18 -0300 Subject: ruby-mustache update to ruby2, removed transmission-remote-cli ...since it's in [community] --- pcr/ruby-mustache/PKGBUILD | 31 ++++++++++++++++++++++++++++ pcr/transmission-remote-cli/PKGBUILD | 29 ++++++++++++++++++++++++++ pcr/transmission-remote-cli/python2.patch | 9 ++++++++ ~fauno/ruby-mustache/PKGBUILD | 30 --------------------------- ~fauno/transmission-remote-cli/PKGBUILD | 29 -------------------------- ~fauno/transmission-remote-cli/python2.patch | 9 -------- 6 files changed, 69 insertions(+), 68 deletions(-) create mode 100644 pcr/ruby-mustache/PKGBUILD create mode 100644 pcr/transmission-remote-cli/PKGBUILD create mode 100644 pcr/transmission-remote-cli/python2.patch delete mode 100644 ~fauno/ruby-mustache/PKGBUILD delete mode 100644 ~fauno/transmission-remote-cli/PKGBUILD delete mode 100644 ~fauno/transmission-remote-cli/python2.patch (limited to 'pcr') diff --git a/pcr/ruby-mustache/PKGBUILD b/pcr/ruby-mustache/PKGBUILD new file mode 100644 index 000000000..ddb5215d3 --- /dev/null +++ b/pcr/ruby-mustache/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: David Campbell +pkgname=ruby-mustache +pkgver=0.99.4 +pkgrel=3 +pkgdesc="A framework-agnostic way to render logic-free views." +arch=('any') +url="http://github.com/defunkt/mustache" +license=(MIT) +depends=('ruby>=2') +makedepends=('rubygems') +source=("http://gems.rubyforge.org/gems/mustache-${pkgver}.gem" + "https://raw.github.com/defunkt/mustache/master/LICENSE") +md5sums=('650194ec2c166feb087377647414b9dc' + 'fbbd010314b3f1554733123ecde55a52') +noextract=("mustache-${pkgver}.gem") + +build() { + cd $srcdir + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install \ + --no-user-install \ + --ignore-dependencies \ + -i "$pkgdir$_gemdir" mustache-$pkgver.gem \ + -n "$pkgdir/usr/bin" + + install -Dm644 $srcdir/LICENSE \ + $pkgdir/usr/share/licenses/$pkgname/LICENSE + +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/transmission-remote-cli/PKGBUILD b/pcr/transmission-remote-cli/PKGBUILD new file mode 100644 index 000000000..5e3699bce --- /dev/null +++ b/pcr/transmission-remote-cli/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: fauno +pkgname=transmission-remote-cli +pkgver=0.10.4 +pkgrel=1 +pkgdesc="Curses interface for the daemon of the BitTorrent client Transmission" +arch=('any') +url="https://github.com/fagga/transmission-remote-cli" +license=('GPL3') +depends=('python2') +optdepends=('transmission-daemon>=2.40: for local transmission management' + 'adns-python: Resolve IPs to host names' + 'python-geoip: Guess which country peers come from') +conflicts=('transmission-remote-cli-git' "transmission-remote-cli<=20111013") +replaces=('transmission-remote-cli-git') +source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz + python2.patch) + +build() { + cd "${srcdir}/${pkgname}" + msg "Starting make..." + + patch -Np1 -i ${srcdir}/python2.patch + + install -d ${pkgdir}/usr/bin/ + install -Dm755 transmission-remote-cli.py ${pkgdir}/usr/bin/transmission-remote-cli + +} +md5sums=('b85382bc2e24c5733f9c3833098da668' + '6273609fb3a7294328aeaa526b76411c') diff --git a/pcr/transmission-remote-cli/python2.patch b/pcr/transmission-remote-cli/python2.patch new file mode 100644 index 000000000..256b676f0 --- /dev/null +++ b/pcr/transmission-remote-cli/python2.patch @@ -0,0 +1,9 @@ +diff -Nur transmission-remote-cli/transmission-remote-cli.py transmission-remote-cli-python2//transmission-remote-cli.py +--- transmission-remote-cli/transmission-remote-cli.py 2010-10-19 10:33:49.544594708 -0300 ++++ transmission-remote-cli-python2//transmission-remote-cli.py 2010-10-19 10:42:51.278983745 -0300 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + ######################################################################## + # This is transmission-remote-cli, whereas 'cli' stands for 'Curses # + # Luminous Interface', a client for the daemon of the BitTorrent # diff --git a/~fauno/ruby-mustache/PKGBUILD b/~fauno/ruby-mustache/PKGBUILD deleted file mode 100644 index 8c8d924c1..000000000 --- a/~fauno/ruby-mustache/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Maintainer: David Campbell -pkgname=ruby-mustache -pkgver=0.99.4 -pkgrel=2 -pkgdesc="A framework-agnostic way to render logic-free views." -arch=('any') -url="http://github.com/defunkt/mustache" -license=(MIT) -depends=('ruby') -makedepends=('rubygems') -source=("http://gems.rubyforge.org/gems/mustache-${pkgver}.gem" - "https://raw.github.com/defunkt/mustache/master/LICENSE") -md5sums=('650194ec2c166feb087377647414b9dc' - 'fbbd010314b3f1554733123ecde55a52') -noextract=("mustache-${pkgver}.gem") - -build() { - cd $srcdir - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install \ - --ignore-dependencies \ - -i "$pkgdir$_gemdir" mustache-$pkgver.gem \ - -n "$pkgdir/usr/bin" - - install -Dm644 $srcdir/LICENSE \ - $pkgdir/usr/share/licenses/$pkgname/LICENSE - -} - -# vim:set ts=2 sw=2 et: diff --git a/~fauno/transmission-remote-cli/PKGBUILD b/~fauno/transmission-remote-cli/PKGBUILD deleted file mode 100644 index 5e3699bce..000000000 --- a/~fauno/transmission-remote-cli/PKGBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Maintainer: fauno -pkgname=transmission-remote-cli -pkgver=0.10.4 -pkgrel=1 -pkgdesc="Curses interface for the daemon of the BitTorrent client Transmission" -arch=('any') -url="https://github.com/fagga/transmission-remote-cli" -license=('GPL3') -depends=('python2') -optdepends=('transmission-daemon>=2.40: for local transmission management' - 'adns-python: Resolve IPs to host names' - 'python-geoip: Guess which country peers come from') -conflicts=('transmission-remote-cli-git' "transmission-remote-cli<=20111013") -replaces=('transmission-remote-cli-git') -source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz - python2.patch) - -build() { - cd "${srcdir}/${pkgname}" - msg "Starting make..." - - patch -Np1 -i ${srcdir}/python2.patch - - install -d ${pkgdir}/usr/bin/ - install -Dm755 transmission-remote-cli.py ${pkgdir}/usr/bin/transmission-remote-cli - -} -md5sums=('b85382bc2e24c5733f9c3833098da668' - '6273609fb3a7294328aeaa526b76411c') diff --git a/~fauno/transmission-remote-cli/python2.patch b/~fauno/transmission-remote-cli/python2.patch deleted file mode 100644 index 256b676f0..000000000 --- a/~fauno/transmission-remote-cli/python2.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Nur transmission-remote-cli/transmission-remote-cli.py transmission-remote-cli-python2//transmission-remote-cli.py ---- transmission-remote-cli/transmission-remote-cli.py 2010-10-19 10:33:49.544594708 -0300 -+++ transmission-remote-cli-python2//transmission-remote-cli.py 2010-10-19 10:42:51.278983745 -0300 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python2 - ######################################################################## - # This is transmission-remote-cli, whereas 'cli' stands for 'Curses # - # Luminous Interface', a client for the daemon of the BitTorrent # -- cgit v1.2.3 From 889f174a76aff4d50f029273bd0aadda83880fb3 Mon Sep 17 00:00:00 2001 From: Shackra Sislock Date: Thu, 25 Apr 2013 15:44:11 -0600 Subject: adding Sigil: a WYSIWYG epub editor --- pcr/sigil/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ pcr/sigil/sigil.desktop | 12 ++++++++++++ pcr/sigil/sigil.install | 12 ++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 pcr/sigil/PKGBUILD create mode 100755 pcr/sigil/sigil.desktop create mode 100644 pcr/sigil/sigil.install (limited to 'pcr') diff --git a/pcr/sigil/PKGBUILD b/pcr/sigil/PKGBUILD new file mode 100644 index 000000000..0d5802ac1 --- /dev/null +++ b/pcr/sigil/PKGBUILD @@ -0,0 +1,48 @@ +# $Id: PKGBUILD 59836 2011-11-30 22:56:23Z giovanni $ +# Maintainer: Giovanni Scafora +# Contributor: Larry Hajali +# Contributor: Jorge Araya Navarro + +pkgname=sigil +pkgver=0.7.2 +pkgrel=1 +pkgdesc="A WYSIWYG ebook editor" +arch=('i686' 'x86_64') +url="http://code.google.com/p/sigil/" +license=('GPL3') +depends=('qt5-base' 'qt5-svg' 'qt5-webkit' 'qt5-xmlpatterns' 'qt5-tools') +makedepends=('cmake') +provides=('sigil') +conflicts=('sigil') +install=sigil.install +source=("http://sigil.googlecode.com/files/Sigil-0.7.2-Code.zip" + "sigil.desktop") + +build() { + cd ${srcdir} + mkdir build + cd build + cmake -G "Unix Makefiles" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ + -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON .. + + make +} + +package() { + cd "${srcdir}"/build + make install DESTDIR="${pkgdir}" + + install -d -m 0755 "${pkgdir}"/usr/share/applications + install -m 0644 "${srcdir}"/sigil.desktop "${pkgdir}"/usr/share/applications + + for _pic in 16 32 48 128 256; do + install -D -m 0644 ../src/Sigil/Resource_Files/icon/app_icon_${_pic}.png \ + "${pkgdir}"/usr/share/icons/hicolor/${_pic}x${_pic}/apps/sigil.png + done +} +sha256sums=('8a6f5fd7c59fd8524ce0f48e7d13d13bad137053c9071fe2e1653ea55d5ed940' + '92a1014794dbf81fa997449338ded9a0e84593e3552020eb9269039b916bea36') diff --git a/pcr/sigil/sigil.desktop b/pcr/sigil/sigil.desktop new file mode 100755 index 000000000..cdb4ce1b2 --- /dev/null +++ b/pcr/sigil/sigil.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=Sigil +Comment=WYSIWYG ebook editor +TryExec=sigil +Exec=sigil %F +Icon=sigil +Terminal=false +StartupNotify=false +Categories=Application;Office; +MimeType=application/epub+zip; diff --git a/pcr/sigil/sigil.install b/pcr/sigil/sigil.install new file mode 100644 index 000000000..ec506fa93 --- /dev/null +++ b/pcr/sigil/sigil.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3