[arch-commits] Commit in subdownloader/repos/community-any (4 files)
Ray Rashif
schiv at nymeria.archlinux.org
Sun Jul 6 10:44:16 UTC 2014
Date: Sunday, July 6, 2014 @ 12:44:16
Author: schiv
Revision: 115163
archrelease: copy trunk to community-any
Added:
subdownloader/repos/community-any/PKGBUILD
(from rev 115162, subdownloader/trunk/PKGBUILD)
subdownloader/repos/community-any/subdownloader.install
(from rev 115162, subdownloader/trunk/subdownloader.install)
Deleted:
subdownloader/repos/community-any/PKGBUILD
subdownloader/repos/community-any/subdownloader.install
-----------------------+
PKGBUILD | 124 ++++++++++++++++++++++++------------------------
subdownloader.install | 22 ++++----
2 files changed, 73 insertions(+), 73 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-06 10:44:03 UTC (rev 115162)
+++ PKGBUILD 2014-07-06 10:44:16 UTC (rev 115163)
@@ -1,62 +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.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:
Copied: subdownloader/repos/community-any/PKGBUILD (from rev 115162, subdownloader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-07-06 10:44:16 UTC (rev 115163)
@@ -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=2
+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 2014-07-06 10:44:03 UTC (rev 115162)
+++ subdownloader.install 2014-07-06 10:44:16 UTC (rev 115163)
@@ -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 115162, subdownloader/trunk/subdownloader.install)
===================================================================
--- subdownloader.install (rev 0)
+++ subdownloader.install 2014-07-06 10:44:16 UTC (rev 115163)
@@ -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