[arch-commits] Commit in subdownloader/trunk (PKGBUILD)
Ray Rashif
schiv at nymeria.archlinux.org
Mon Feb 18 13:25:11 UTC 2013
Date: Monday, February 18, 2013 @ 14:25:11
Author: schiv
Revision: 84402
upgpkg: subdownloader 2.0.18-1
upstream release
Modified:
subdownloader/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++------------------
1 file changed, 7 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-18 05:16:03 UTC (rev 84401)
+++ PKGBUILD 2013-02-18 13:25:11 UTC (rev 84402)
@@ -5,8 +5,7 @@
# Contributor: Thomas Jost <thomas.jost at gmail.com>
pkgname=subdownloader
-pkgver=2.0.16_1
-_pkgver=2.0.16-1
+pkgver=2.0.18
pkgrel=1
pkgdesc="Automatic download/upload of subtitles using fast hashing"
arch=('any')
@@ -14,33 +13,23 @@
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.tar.gz")
-md5sums=('2c5fee6cc97b42c8f1b9dcee329ec962')
+source=("http://launchpad.net/$pkgname/trunk/$pkgver/+download/${pkgname}_$pkgver.orig.tar.gz")
+md5sums=('11dbc455f542b68e96e2cc539deb3f8f')
build() {
- cd "$srcdir/$pkgname"
+ 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
-
- # 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"
+ cd "$srcdir/$pkgname-$pkgver"
# prepare dirs
install -d "$pkgdir/usr/share/$pkgname" \
@@ -67,7 +56,7 @@
# unnecessary directories
cd "$pkgdir/usr/share/$pkgname"
- rm -r debian distribution
+ rm -r distribution
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list