diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | pamac.install | 10 |
3 files changed, 14 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = pamac-aur pkgdesc = A Gtk3 frontend for libalpm pkgver = 6.2.6 - pkgrel = 1 + pkgrel = 2 url = https://github.com/manjaro/pamac install = pamac.install arch = i686 @@ -36,8 +36,8 @@ pkgbase = pamac-aur conflicts = pamac options = !emptydirs backup = etc/pamac.conf - source = pamac-6.2.6-1.tar.gz::https://github.com/manjaro/pamac/archive/v6.2.6.tar.gz - sha256sums = 1de6462a370efb9a6547437275fd98cb4617e7a395466bbcb64bc2494793e93c + source = pamac-6.2.6-2.tar.gz::https://github.com/manjaro/pamac/archive/v6.2.6.tar.gz + sha256sums = 73c968445ea78b0050b27a44bd634a39a20571d2d80c6bbaa05d6f46fcb1ba0b pkgname = pamac-aur @@ -3,7 +3,7 @@ pkgname=pamac-aur _pkgver=6.2.6 pkgver=$_pkgver -pkgrel=1 +pkgrel=2 pkgdesc="A Gtk3 frontend for libalpm" arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/manjaro/pamac" @@ -50,10 +50,6 @@ package() { cd "$srcdir/pamac-$pkgver/builddir" DESTDIR="$pkgdir" ninja install - # enable systemd timer - mkdir -p "$pkgdir/etc/systemd/system/multi-user.target.wants" - ln -sf "/usr/lib/systemd/system/pamac-cleancache.timer" "$pkgdir/etc/systemd/system/multi-user.target.wants" -# ln -sf "/usr/lib/systemd/system/pamac-mirrorlist.timer" "$pkgdir/etc/systemd/system/multi-user.target.wants" # remove pamac-tray-appindicator # rm "$pkgdir/usr/bin/pamac-tray-appindicator" # rm "$pkgdir/etc/xdg/autostart/pamac-tray-appindicator.desktop" diff --git a/pamac.install b/pamac.install index 471206c11b1a..8437f7321391 100644 --- a/pamac.install +++ b/pamac.install @@ -1,7 +1,17 @@ post_install() { + # enable systemd timers + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/multi-user.target.wants + #ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/multi-user.target.wants + # polkit agent printf '==> An authentication agent is required\n' printf ' Cinnamon, Deepin, GNOME, GNOME Flashback, KDE, LXDE, LXQt, MATE and Xfce\n' printf ' have an authentication agent already.\n' printf ' See https://wiki.archlinux.org/index.php/Polkit#Authentication_agents\n' printf ' for other desktop environments.\n' } + +post_remove() { + # disable systemd timers + rm -f /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer + #rm -f /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer +}
\ No newline at end of file |