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 +++++++++ 3 files changed, 69 insertions(+) create mode 100644 pcr/ruby-mustache/PKGBUILD create mode 100644 pcr/transmission-remote-cli/PKGBUILD create mode 100644 pcr/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 # -- cgit v1.2.3-54-g00ecf