diff options
author | raqua | 2020-12-05 17:03:30 +0100 |
---|---|---|
committer | raqua | 2020-12-05 17:03:30 +0100 |
commit | 33e06a4f927c1d4bc795a0fb0abc08866a7b91b0 (patch) | |
tree | cf4754095e15e6d48206026aae5dcc10b9f85879 /PKGBUILD | |
parent | 0db04212cbb9c3851045b254addee31a69a7f419 (diff) | |
download | aur-33e06a4f927c1d4bc795a0fb0abc08866a7b91b0.tar.gz |
Added patch for python 3.9
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -5,7 +5,7 @@ pkgname=domoticz pkgver=2020.2 -pkgrel=4 +pkgrel=5 pkgdesc="Web based home automation" arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') url='https://www.domoticz.com' @@ -26,12 +26,17 @@ makedepends=('git' 'python') install='domoticz.install' source=("https://github.com/domoticz/domoticz/archive/${pkgver}.tar.gz" - 'domoticz.service') + 'domoticz.service' + 'python3.9.patch') md5sums=('fd383a13d13d0976c72f332d6db1d24e' - 'c13a3f5d04142587d159820156a6223f') + 'c13a3f5d04142587d159820156a6223f' + '39b1a4aa57dff4d7083f67870bc1fa1b') prepare() { + mkdir -p "${srcdir}/${pkgname}-${pkgver}/build" + patch --forward --strip=1 --input="${srcdir}/python3.9.patch" + cd "${srcdir}/${pkgname}-${pkgver}/build" cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/opt/domoticz \ |