[arch-commits] Commit in subdownloader/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Tue Jul 24 05:03:51 UTC 2018
Date: Tuesday, July 24, 2018 @ 05:03:51
Author: eschwartz
Revision: 363237
upgpkg: subdownloader 2.1.0rc4-3
python 3.7 rebuild
Modified:
subdownloader/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-24 01:38:04 UTC (rev 363236)
+++ PKGBUILD 2018-07-24 05:03:51 UTC (rev 363237)
@@ -7,7 +7,7 @@
pkgname=subdownloader
pkgver=2.1.0rc4
-pkgrel=2
+pkgrel=3
pkgdesc="Automatic download/upload of subtitles using fast hashing"
arch=('any')
url="https://github.com/subdownloader/subdownloader"
@@ -20,6 +20,13 @@
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=('99946402622db535c5261324b2b39986ab0b9e433a459f3b9100ec2fe3ddf4159de591ac472de7ea438a0a2ecfdd60fd88c2a1c3e827c7e642be7f2dbde5ac65')
+prepare() {
+ cd "${pkgname}-${pkgver}"
+
+ # remove broken PyQt5 detection: https://github.com/subdownloader/subdownloader/issues/25
+ sed -i '/PyQt5/d' setup.py
+}
+
build(){
cd "${pkgname}-${pkgver}"
python setup.py build
@@ -35,7 +42,6 @@
cd "${pkgname}-${pkgver}"
python setup.py install --skip-build \
--optimize=1 \
- --prefix=/usr \
--root="${pkgdir}"
# man page
@@ -50,11 +56,7 @@
# docs
install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm 644 {ChangeLog,README.md} \
-
- # remove broken PyQt5 detection: https://github.com/subdownloader/subdownloader/issues/25
- sed -e '/PyQt5/d' \
- -i "${pkgdir}/usr/lib/python3.6/site-packages/SubDownloader-${pkgver}-py3.6.egg-info/requires.txt"
+ -vDm 644 {ChangeLog,README.md}
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list