diff options
author | grayich | 2015-07-04 19:09:13 +0300 |
---|---|---|
committer | grayich | 2015-07-04 19:09:13 +0300 |
commit | 260bee1fef406d32b47e66a90187871184819e72 (patch) | |
tree | ce54f1c4e289d3618ec862d731470f42183ba927 | |
download | aur-260bee1fef406d32b47e66a90187871184819e72.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8cba34f18e07 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = outwiker-plugins + pkgdesc = Plugins for Outwiker + pkgver = 1.8.1 + pkgrel = 1 + url = http://jenyay.net/Outwiker/PluginsEn + arch = any + license = GPL3 + depends = outwiker>=1.8.1 + depends = python2-pygments + source = http://jenyay.net/uploads/Outwiker/Plugins/outwiker-plugins-all.zip + sha1sums = 2c12a01e4c59fd80f445aaab24f88213ddc10ca5 + +pkgname = outwiker-plugins + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..203281b71bc7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ + +pkgname=outwiker-plugins +pkgver=1.8.1 +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') +source=("http://jenyay.net/uploads/Outwiker/Plugins/outwiker-plugins-all.zip") +sha1sums=('2c12a01e4c59fd80f445aaab24f88213ddc10ca5') + +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} + # 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 + done + find ${pkgdir}/${_plugdir} -type f -exec chmod a-x,u+w {} \; +} |