[arch-commits] Commit in subdownloader/repos/community-any (4 files)

Ray Rashif schiv at nymeria.archlinux.org
Mon Feb 18 13:25:20 UTC 2013


    Date: Monday, February 18, 2013 @ 14:25:20
  Author: schiv
Revision: 84403

archrelease: copy trunk to community-any

Added:
  subdownloader/repos/community-any/PKGBUILD
    (from rev 84402, subdownloader/trunk/PKGBUILD)
  subdownloader/repos/community-any/subdownloader.install
    (from rev 84402, subdownloader/trunk/subdownloader.install)
Deleted:
  subdownloader/repos/community-any/PKGBUILD
  subdownloader/repos/community-any/subdownloader.install

-----------------------+
 PKGBUILD              |  135 ++++++++++++++++++++++--------------------------
 subdownloader.install |   22 +++----
 2 files changed, 73 insertions(+), 84 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-18 13:25:11 UTC (rev 84402)
+++ PKGBUILD	2013-02-18 13:25:20 UTC (rev 84403)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Ray Rashif <schiv at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
-# Contributor: Thomas Jost <thomas.jost at gmail.com>
-
-pkgname=subdownloader
-pkgver=2.0.16_1
-_pkgver=2.0.16-1
-pkgrel=1
-pkgdesc="Automatic download/upload of subtitles using fast hashing"
-arch=('any')
-url="http://www.subdownloader.net/"
-license=('GPL3')
-depends=('imdbpy' 'kaa-metadata' 'python2-pyqt')
-makedepends=('icu')
-install=$pkgname.install
-source=("http://launchpad.net/$pkgname/trunk/$_pkgver/+download/${pkgname}_$_pkgver.tar.gz")
-md5sums=('2c5fee6cc97b42c8f1b9dcee329ec962')
-
-build() {
-  cd "$srcdir/$pkgname"
-
-  # python2 fix
-  for file in $(find . -name '*.py' -print); do
-    sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
-    sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
-  done
-
-  # something upstream forgot to do? (gives us missing images_rc.py)
-  # see https://bugs.launchpad.net/subdownloader/+bug/1047425
-  if ! test -f gui/images_rc.py; then
-    (
-    cd gui
-    sed -i -e 's/python /python2 /' \
-      -e 's/pyuic4 /python2-pyuic4 /' Makefile
-    make
-    )
-  fi
-}
-
-package() {
-  cd "$srcdir/$pkgname"
-
-  # prepare dirs
-  install -d "$pkgdir/usr/share/$pkgname" \
-    "$pkgdir/usr/bin" \
-    "$pkgdir/usr/share/man/man1/"
-
-  # manuals
-  gzip subdownloader.1
-  install -D subdownloader.1.gz "$pkgdir/usr/share/man/man1/"
-
-  # freedesktop.org
-  install -D -m644 subdownloader.desktop \
-    "$pkgdir/usr/share/applications/subdownloader.desktop"
-  rm subdownloader.1.gz subdownloader.desktop
-
-  # runtime and executables
-  cp -a * "$pkgdir/usr/share/$pkgname/"
-  chmod 755 "$pkgdir/usr/share/$pkgname/run.py"
-  ln -s "/usr/share/$pkgname/run.py" \
-    "$pkgdir/usr/bin/subdownloader"
-
-  install -D -m644 gui/images/subdownloader.png \
-    "$pkgdir/usr/share/pixmaps/subdownloader.png"
-
-  # unnecessary directories
-  cd "$pkgdir/usr/share/$pkgname"
-  rm -r debian distribution
-}
-
-# vim:set ts=2 sw=2 et:

Copied: subdownloader/repos/community-any/PKGBUILD (from rev 84402, subdownloader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-02-18 13:25:20 UTC (rev 84403)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+# Contributor: Thomas Jost <thomas.jost at gmail.com>
+
+pkgname=subdownloader
+pkgver=2.0.18
+pkgrel=1
+pkgdesc="Automatic download/upload of subtitles using fast hashing"
+arch=('any')
+url="http://www.subdownloader.net/"
+license=('GPL3')
+depends=('imdbpy' 'kaa-metadata' 'python2-pyqt')
+makedepends=('icu')
+options=('!emptydirs')
+install=$pkgname.install
+source=("http://launchpad.net/$pkgname/trunk/$pkgver/+download/${pkgname}_$pkgver.orig.tar.gz")
+md5sums=('11dbc455f542b68e96e2cc539deb3f8f')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # python2 fix
+  for file in $(find . -name '*.py' -print); do
+    sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
+    sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
+  done
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # prepare dirs
+  install -d "$pkgdir/usr/share/$pkgname" \
+    "$pkgdir/usr/bin" \
+    "$pkgdir/usr/share/man/man1/"
+
+  # manuals
+  gzip subdownloader.1
+  install -D subdownloader.1.gz "$pkgdir/usr/share/man/man1/"
+
+  # freedesktop.org
+  install -D -m644 subdownloader.desktop \
+    "$pkgdir/usr/share/applications/subdownloader.desktop"
+  rm subdownloader.1.gz subdownloader.desktop
+
+  # runtime and executables
+  cp -a * "$pkgdir/usr/share/$pkgname/"
+  chmod 755 "$pkgdir/usr/share/$pkgname/run.py"
+  ln -s "/usr/share/$pkgname/run.py" \
+    "$pkgdir/usr/bin/subdownloader"
+
+  install -D -m644 gui/images/subdownloader.png \
+    "$pkgdir/usr/share/pixmaps/subdownloader.png"
+
+  # unnecessary directories
+  cd "$pkgdir/usr/share/$pkgname"
+  rm -r distribution
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: subdownloader.install
===================================================================
--- subdownloader.install	2013-02-18 13:25:11 UTC (rev 84402)
+++ subdownloader.install	2013-02-18 13:25:20 UTC (rev 84403)
@@ -1,11 +0,0 @@
-post_install() {
-  update-desktop-database -q
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}

Copied: subdownloader/repos/community-any/subdownloader.install (from rev 84402, subdownloader/trunk/subdownloader.install)
===================================================================
--- subdownloader.install	                        (rev 0)
+++ subdownloader.install	2013-02-18 13:25:20 UTC (rev 84403)
@@ -0,0 +1,11 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list