[arch-commits] Commit in openshot/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Sun Nov 15 11:23:28 UTC 2020
Date: Sunday, November 15, 2020 @ 11:23:28
Author: archange
Revision: 754405
FS#68583
Modified:
openshot/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-15 11:15:34 UTC (rev 754404)
+++ PKGBUILD 2020-11-15 11:23:28 UTC (rev 754405)
@@ -1,4 +1,5 @@
# Maintainer: David Runge <dvzrv at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
# Contributor: Florian Pritz <bluewind at xinu.at>
# Contributor: Asa Marco <marcoasa90[at]gmail[.]com>
@@ -5,33 +6,28 @@
pkgname=openshot
pkgver=2.5.1
-pkgrel=2
+pkgrel=3
pkgdesc="An award-winning free and open-source video editor"
-arch=('any')
+arch=(any)
url="https://www.openshot.org/"
-license=('GPL3')
-depends=('ffmpeg' 'mlt' 'python-pyqt5' 'python-requests' 'libopenshot'
-'libopenshot-audio' 'python-pyzmq' 'qt5-base' 'qt5-svg' 'qt5-webkit')
+license=(GPL3)
+depends=(ffmpeg mlt python-pyqt5 python-requests python-setuptools libopenshot
+ libopenshot-audio python-pyzmq qt5-base qt5-svg qt5-webkit)
optdepends=('faac: for exporting audio using AAC')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenShot/openshot-qt/archive/v$pkgver.tar.gz")
+source=(https://github.com/OpenShot/openshot-qt/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha512sums=('8254a45254bbe523b6485b9598022de2c46ec30818e606ac4665790d29486693c4efe9f5bc55ee43d6342de6782cf0090e4bc880e831c08e3b1218bca555af14')
-prepare() {
- mv -v "${pkgname}-qt-${pkgver}" "${pkgname}-${pkgver}"
-}
-
build() {
- cd "${pkgname}-${pkgver}"
+ cd ${pkgname}-qt-${pkgver}
python setup.py build
}
package() {
- cd "${pkgname}-${pkgver}"
+ cd ${pkgname}-qt-${pkgver}
python setup.py install --skip-build \
--optimize=1 \
--prefix=/usr \
--root="${pkgdir}"
install -vDm 644 {AUTHORS,{CONTRIBUTING,README}.md} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
+ -t "${pkgdir}"/usr/share/doc/${pkgname}
}
More information about the arch-commits
mailing list