diff options
author | John Gerritse | 2020-07-07 15:59:53 +0200 |
---|---|---|
committer | John Gerritse | 2020-07-07 15:59:53 +0200 |
commit | 80f89ae77667dbf6ab3d7a065c5b24cbb420fe4b (patch) | |
tree | 9373b63d26dfb020ffa3566addc5eec7728faaa6 | |
parent | 260bee1fef406d32b47e66a90187871184819e72 (diff) | |
download | aur-80f89ae77667dbf6ab3d7a065c5b24cbb420fe4b.tar.gz |
Adopted package and updated it to the version
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 15 insertions, 14 deletions
@@ -1,14 +1,14 @@ pkgbase = outwiker-plugins pkgdesc = Plugins for Outwiker - pkgver = 1.8.1 + pkgver = 2.0.0 pkgrel = 1 url = http://jenyay.net/Outwiker/PluginsEn arch = any license = GPL3 - depends = outwiker>=1.8.1 + depends = outwiker>=2.0.0 depends = python2-pygments source = http://jenyay.net/uploads/Outwiker/Plugins/outwiker-plugins-all.zip - sha1sums = 2c12a01e4c59fd80f445aaab24f88213ddc10ca5 + sha1sums = 48b2c9ccd436811fb60163e9837bbd03b8ca8825 pkgname = outwiker-plugins @@ -1,26 +1,27 @@ +# Maintainer: John Gerritse <tyrannis dot hawk at gmail dot com> pkgname=outwiker-plugins -pkgver=1.8.1 +pkgver=2.0.0 pkgrel=1 _plugdir='/usr/share/outwiker/plugins' arch=('any') pkgdesc="Plugins for Outwiker" url="http://jenyay.net/Outwiker/PluginsEn" license=('GPL3') -depends=('outwiker>=1.8.1' 'python2-pygments') +depends=('outwiker>=2.0.0' 'python2-pygments') source=("http://jenyay.net/uploads/Outwiker/Plugins/outwiker-plugins-all.zip") -sha1sums=('2c12a01e4c59fd80f445aaab24f88213ddc10ca5') +sha1sums=('48b2c9ccd436811fb60163e9837bbd03b8ca8825') package() { - rm -f ${srcdir}/outwiker-plugins-all.zip - rm -rf ${srcdir}/datagraph/help/datagraph_rus #temporary solution - install -d -m755 ${pkgdir}/${_plugdir} - cp -r ${srcdir}/* ${pkgdir}/${_plugdir}/ - cd ${pkgdir} + rm -f "${srcdir}"/outwiker-plugins-all.zip + rm -rf "${srcdir}"/datagraph/help/datagraph_rus #temporary solution + install -d -m755 "${pkgdir}/${_plugdir}" + cp -r "${srcdir}"/* "${pkgdir}/${_plugdir}"/ + cd "${pkgdir}" # python2 fix for file in $(find . -name '*.py' -print); do - sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file - sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file + sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' "${file}" + sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' "${file}" done - find ${pkgdir}/${_plugdir} -type f -exec chmod a-x,u+w {} \; + find "${pkgdir}/${_plugdir}" -type f -exec chmod a-x,u+w {} \; } |