diff options
author | Ted Alff | 2020-04-24 20:40:18 -0400 |
---|---|---|
committer | Ted Alff | 2020-04-24 20:40:18 -0400 |
commit | 1df820c9a3f7ad2ad90dbb5c2daa14af140aba42 (patch) | |
tree | e02b50417630a2a178fe94f0984d726febb9ccf8 /PKGBUILD | |
parent | 25d1cf4aabc9f971f01c8f4826b5b2d13a3cdab0 (diff) | |
download | aur-1df820c9a3f7ad2ad90dbb5c2daa14af140aba42.tar.gz |
Don't use git revert, fetch the commit as patch as patch -R instead.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -2,27 +2,27 @@ pkgname=superpaper pkgver=2.0.0 -pkgrel=2 +pkgrel=3 pkgdesc="Cross-platform multi monitor wallpaper manager" arch=('any') url="https://github.com/hhannine/Superpaper" license=('MIT') depends=('python-pillow' 'python-screeninfo>=0.6.1' 'python-wxpython' 'python-system_hotkey>=1.0.2+10+9541587' 'python-xpybutil' 'python-numpy') -makedepends=('python-distutils-extra' 'git') -#source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hhannine/${pkgname^}/archive/v${pkgver}.tar.gz") -#sha256sums=('f1ffbc7cdeb77474c4dfaa6ec7db66d797aa750af164f9e343860ea9ea0dbbe5') -source=("${pkgname}::git+https://github.com/hhannine/superpaper.git#tag=v${pkgver}") -sha256sums=('SKIP') +makedepends=('python-distutils-extra') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hhannine/${pkgname^}/archive/v${pkgver}.tar.gz" + '0001_revert_pillow_7.0_requirement.patch::https://github.com/hhannine/superpaper/commit/6eecf85a628cc898b943959920e7fb479b985044.patch') +sha256sums=('f1ffbc7cdeb77474c4dfaa6ec7db66d797aa750af164f9e343860ea9ea0dbbe5' + '8a76617f08175ec0c98b40228de920e1a1252727d229c5e32f7787ffe336a994') prepare() { - cd "${srcdir}/${pkgname}" #-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" # Revert image optimizations which bumped the Pillow dep to 7.0+ # until Arch updates the python-pillow package. - git revert --no-edit '6eecf85a628cc898b943959920e7fb479b985044' + patch -Rp1 -i ../0001_revert_pillow_7.0_requirement.patch } package() { - cd "${srcdir}/${pkgname}" #-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" python setup.py install --root "${pkgdir}" --optimize=1 } |