[arch-commits] Commit in subdownloader/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Oct 24 20:26:05 UTC 2019
Date: Thursday, October 24, 2019 @ 20:26:04
Author: dvzrv
Revision: 518830
archrelease: copy trunk to community-any
Added:
subdownloader/repos/community-any/PKGBUILD
(from rev 518829, subdownloader/trunk/PKGBUILD)
Deleted:
subdownloader/repos/community-any/PKGBUILD
----------+
PKGBUILD | 105 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 49 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-24 20:25:52 UTC (rev 518829)
+++ PKGBUILD 2019-10-24 20:26:04 UTC (rev 518830)
@@ -1,56 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: 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.1.0
-pkgrel=1
-pkgdesc="Automatic download/upload of subtitles using fast hashing"
-arch=('any')
-url="https://github.com/subdownloader/subdownloader"
-license=('GPL3')
-depends=('desktop-file-utils' 'python-argcomplete' 'python-argparse'
-'python-commonmark' 'python-langdetect' 'python-progressbar' 'python-pyqt5'
-'python-pymediainfo' 'python-setuptools' 'python-sip')
-makedepends=('python-sphinx')
-checkdepends=('python-pytest')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('c61e5eb5c9f1cb452b42a2643e67d9c82550af3dd36940e2d7f4afb8229f8d394a0eafca662f5446c13230b6541dec25e6d33c486a3324d4a5e3c2d7b3a1faa8')
-
-prepare() {
- cd "${pkgname}-${pkgver}"
- # remove extension, failing sphinx build:
- # https://github.com/subdownloader/subdownloader/issues/44
- sed -e '/sphinxarg.ext/d' -i doc/conf.py
-}
-
-build(){
- cd "${pkgname}-${pkgver}"
- python setup.py build
- python setup.py build_sphinx
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- py.test
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --root="${pkgdir}"
- # man page
- install -vDm 644 "build/sphinx/man/${pkgname}.1" \
- "${pkgdir}/usr/share/man/man1/${pkgname}.1"
- # freedesktop.org
- install -vDm 644 "${pkgname}.desktop" \
- "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- install -vDm 644 "scripts/gui/rc/images/${pkgname}.png" \
- "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
- # docs
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm 644 {ChangeLog,README.md}
-}
Copied: subdownloader/repos/community-any/PKGBUILD (from rev 518829, subdownloader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-24 20:26:04 UTC (rev 518830)
@@ -0,0 +1,49 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: 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.1.0
+pkgrel=2
+pkgdesc="Automatic download/upload of subtitles using fast hashing"
+arch=('any')
+url="https://github.com/subdownloader/subdownloader"
+license=('GPL3')
+depends=('desktop-file-utils' 'python-argcomplete' 'python-argparse'
+'python-commonmark' 'python-langdetect' 'python-progressbar' 'python-pyqt5'
+'python-pymediainfo' 'python-setuptools' 'python-sip')
+makedepends=('python-sphinx' 'python-sphinx-argparse')
+checkdepends=('python-pytest')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('c61e5eb5c9f1cb452b42a2643e67d9c82550af3dd36940e2d7f4afb8229f8d394a0eafca662f5446c13230b6541dec25e6d33c486a3324d4a5e3c2d7b3a1faa8')
+
+build(){
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+ python setup.py build_sphinx
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ py.test
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --root="${pkgdir}"
+ # man page
+ install -vDm 644 "build/sphinx/man/${pkgname}.1" \
+ "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+ # freedesktop.org
+ install -vDm 644 "${pkgname}.desktop" \
+ "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ install -vDm 644 "scripts/gui/rc/images/${pkgname}.png" \
+ "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+ # docs
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+ -vDm 644 {ChangeLog,README.md}
+}
More information about the arch-commits
mailing list