summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFredrick Brennan2018-12-26 22:40:51 +0800
committerFredrick Brennan2018-12-26 22:40:51 +0800
commit468a19f996b920b3e6205df037731e7e55e2d87c (patch)
treec22543c24ab0266e65f273cb6240cc30ce007575 /PKGBUILD
parent09866a402cd697aaf3e274147b6bbb00f20e47ac (diff)
downloadaur-kazam.tar.gz
Force use of old ConfigParser to fix package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 15 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ef32dbb327e..ff874c0a644 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=kazam
pkgver=1.4.5
-pkgrel=6
+pkgrel=7
pkgdesc="A screencasting program with design in mind"
arch=('any')
url="https://launchpad.net/kazam"
@@ -10,22 +10,25 @@ depends=('python' 'python-cairo' 'python-xdg' 'python-dbus' 'python-distutils-ex
optdepends=('libkeybinder3: hotkeys support' 'libappindicator3: indicator on Unity panel support')
conflicts=('kazam-bzr' 'kazam-stable-bzr')
source=("https://launchpad.net/${pkgname}/stable/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"
- 'version.patch'
- 'configparser_api_changes.patch')
+ 'version.patch'
+ 'configparser_api_changes.patch'
+ 'configparser34.py'
+ 'configparser_use_old_version.patch')
md5sums=('522ac80fef7123875271b30298ed6877'
'847ae2478ae5e35f6e1af49aa9fb3fa9'
- '8e751e821558c989ac02ef687a7b7339')
+ '8e751e821558c989ac02ef687a7b7339'
+ '9974105c95473b9d39c705780367879a'
+ '4e59fc27cd4cd5ca1fe1aa379009c31e')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 < "${srcdir}/version.patch"
- patch -p1 < "${srcdir}/configparser_api_changes.patch"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ cp "${srcdir}/configparser34.py" "${srcdir}/$pkgname-$pkgver/$pkgname/backend/"
+ patch -p1 < "${srcdir}/version.patch"
+ patch -p1 < "${srcdir}/configparser_api_changes.patch"
+ patch -p1 < "${srcdir}/configparser_use_old_version.patch"
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python3 setup.py install --root ${pkgdir}
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python3 setup.py install --root ${pkgdir}
}
-
-
-