diff options
author | Ingo Meyer | 2022-03-07 12:15:31 +0100 |
---|---|---|
committer | Ingo Meyer | 2022-03-07 12:15:31 +0100 |
commit | c1f54547672636bd2ff037ff2eae2d26883114d8 (patch) | |
tree | 5893c1d5e61e48711881f6373517c40210a508c6 | |
parent | 2705cca830a4b7ce4c9319e3700edc35f3a6c387 (diff) | |
download | aur-c1f54547672636bd2ff037ff2eae2d26883114d8.tar.gz |
Remove `pycompile` call, improve `package` function (skip build step)
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | ayatana-webmail.install | 19 |
3 files changed, 6 insertions, 22 deletions
@@ -1,7 +1,7 @@ pkgbase = ayatana-webmail-no-indicator-messages pkgdesc = Webmail notifications and actions for any desktop without ayatana-indicator-messages dependency pkgver = 22.2.26 - pkgrel = 3 + pkgrel = 4 url = https://tari.in/www/software/ayatana-webmail/ install = ayatana-webmail.install arch = any @@ -4,7 +4,7 @@ pkgname="ayatana-webmail-no-indicator-messages" pkgver="22.2.26" -pkgrel="3" +pkgrel="4" pkgdesc="Webmail notifications and actions for any desktop without ayatana-indicator-messages dependency" arch=("any") url="https://tari.in/www/software/ayatana-webmail/" @@ -39,5 +39,8 @@ build() package() { cd ayatana-webmail-${pkgver} - python setup.py install --root="${pkgdir}" --optimize=1 + python setup.py install --optimize=1 \ + --prefix=/usr \ + --root="${pkgdir}" \ + --skip-build } diff --git a/ayatana-webmail.install b/ayatana-webmail.install index bb1ba6062858..149fcd81e75b 100644 --- a/ayatana-webmail.install +++ b/ayatana-webmail.install @@ -1,9 +1,5 @@ post_install() { - if which pycompile >/dev/null 2>&1; then - pycompile -p ayatana-webmail - fi - gtk-update-icon-cache -q -f usr/share/icons/hicolor update-desktop-database -q glib-compile-schemas usr/share/glib-2.0/schemas @@ -14,24 +10,9 @@ post_upgrade() post_install } -pre_remove() -{ - if which pyclean >/dev/null 2>&1; then - pyclean -p ayatana-webmail - else - pacman -Qql ayatana-webmail | grep '\.py$' | while read file - do - rm -f "${file}"[co] >/dev/null - done - fi -} - post_remove() { gtk-update-icon-cache -q -f usr/share/icons/hicolor update-desktop-database -q glib-compile-schemas usr/share/glib-2.0/schemas } - - - |