Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ─llama@Mac95XP in ~ as 🧙 took 16s
- ✦ ╰─λ yay -S pamac-aur
- :: Checking for conflicts...
- :: Checking for inner conflicts...
- [Repo Make:11] appstream-glib-0.8.2-1 archlinux-appstream-data-20230220-1 docbook-xml-4.5-9 itstool-1:2.0.7-1 docbook-xsl-1.79.2-7 glib2-docs-2.74.6-1 python-pygments-2.14.0-2 python-anytree-2.8.0-5 gtk-doc-1.33.2-1 vala-0.56.4-1 asciidoc-10.2.0-2
- [Aur:1] pamac-aur-10.4.3-1
- [Aur Make:1] libpamac-aur-11.4.1-1
- :: Remove make dependencies after install? [y/N] y
- :: (1/2) Downloaded PKGBUILD: libpamac-aur
- :: (2/2) Downloaded PKGBUILD: pamac-aur
- 2 libpamac-aur (Build Files Exist)
- 1 pamac-aur (Build Files Exist)
- ==> Diffs to show?
- ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
- ==> a
- diff --git /home/llama/.cache/yay/libpamac-aur/.gitignore /home/llama/.cache/yay/libpamac-aur/.gitignore
- new file mode 100644
- index 0000000..81d8e83
- --- /dev/null
- +++ /home/llama/.cache/yay/libpamac-aur/.gitignore
- @@ -0,0 +1,5 @@
- +*.gz
- +*.tar
- +*.tar.*
- +/pkg/*
- +/src/*
- diff --git /home/llama/.cache/yay/libpamac-aur/PKGBUILD /home/llama/.cache/yay/libpamac-aur/PKGBUILD
- new file mode 100644
- index 0000000..c9bf719
- --- /dev/null
- +++ /home/llama/.cache/yay/libpamac-aur/PKGBUILD
- @@ -0,0 +1,70 @@
- +# Contributor: Zeph <zeph33@gmail.com>
- +# Maintainer: Zeph <zeph33@gmail.com>
- +# https://gitlab.manjaro.org/packages/extra/libpamac
- +ENABLE_FLATPAK=0
- +ENABLE_SNAPD=0
- +
- +pkgname=libpamac-aur
- +pkgver=11.4.1
- +pkgrel=1
- +_pkgfixver=$pkgver
- +
- +_commit='29d71809ee4171585d58a2f652a2eaa05e3dbfb0'
- +sha256sums=('b7f69c45f89fc587241b0237dab00cb19314904a4dc7025523aebd28ea59d3d2'
- + '6e0c25f0fcb0076ce78845b037e32925fcc3f1cd1670062c48ed35f564a10244'
- + 'c2b943318a01ba1f3dabbf32e48e6a6f4b4b774e167ab86c6bfee31aa4a3424c')
- +
- +pkgdesc="Pamac package manager library based on libalpm"
- +arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
- +url="https://gitlab.manjaro.org/applications/libpamac"
- +license=('GPL3')
- +depends=('glib2>=2.42' 'json-glib' 'libsoup3' 'dbus-glib' 'polkit' 'vte3>=0.38'
- + 'libnotify' 'pacman>=6.0' 'pacman<6.1' 'gnutls>=3.4' 'git'
- + 'appstream-glib>=0.7.18-1' 'archlinux-appstream-data' 'git')
- +
- +makedepends=('gettext' 'itstool' 'vala>=0.46' 'asciidoc' 'meson' 'ninja' 'gobject-introspection')
- +backup=('etc/pamac.conf')
- +conflicts=('libpamac' 'libpamac-all')
- +provides=('libpamac')
- +options=(!emptydirs !strip)
- +install=pamac.install
- +source=("libpamac-$pkgver-$pkgrel.tar.gz::$url/-/archive/$_commit/libpamac-$_commit.tar.gz"
- + fix-appstream-data.sh fix-appstream-data.hook)
- +
- +define_meson=''
- +if [ "${ENABLE_FLATPAK}" = 1 ]; then
- + depends+=('flatpak')
- + define_meson+=' -Denable-flatpak=true'
- +fi
- +
- +if [ "${ENABLE_SNAPD}" = 1 ]; then
- + depends+=('snapd' 'snapd-glib')
- + define_meson+=' -Denable-snap=true'
- +fi
- +
- +prepare() {
- + cd "$srcdir/libpamac-$_commit"
- + # adjust version string
- + sed -i -e "s|\"$_pkgfixver\"|\"$pkgver-$pkgrel\"|g" src/version.vala
- +}
- +
- +build() {
- + cd "$srcdir/libpamac-$_commit"
- + mkdir -p builddir
- + cd builddir
- + meson setup --buildtype=release \
- + --prefix=/usr \
- + --sysconfdir=/etc $define_meson
- + # build
- + meson compile
- +}
- +
- +package() {
- + cd "$srcdir/libpamac-$_commit/builddir"
- + DESTDIR="$pkgdir" ninja install
- + # fix appstream issue
- + install -Dm644 "$srcdir/fix-appstream-data.hook" "$pkgdir/etc/pacman.d/hooks/fix-appstream-data.hook"
- + install -Dm755 "$srcdir/fix-appstream-data.sh" "$pkgdir/etc/pacman.d/hooks.bin/fix-appstream-data.sh"
- +
- +}
- +# vim:set ts=2 sw=2 et:
- diff --git /home/llama/.cache/yay/libpamac-aur/fix-appstream-data.hook /home/llama/.cache/yay/libpamac-aur/fix-appstream-data.hook
- new file mode 100644
- index 0000000..9bdff11
- --- /dev/null
- +++ /home/llama/.cache/yay/libpamac-aur/fix-appstream-data.hook
- @@ -0,0 +1,14 @@
- +[Trigger]
- +Operation = Install
- +Operation = Upgrade
- +Type = Path
- +Target = usr/share/app-info/xmls/*.xml.gz
- +
- +# attention: hook name before: update-appstream-cache.hook
- +
- +[Action]
- +Description = fix appstream datas for pamac
- +When = PostTransaction
- +Depends = gzip
- +Exec = /etc/pacman.d/hooks.bin/fix-appstream-data.sh
- +NeedsTargets
- diff --git /home/llama/.cache/yay/libpamac-aur/fix-appstream-data.sh /home/llama/.cache/yay/libpamac-aur/fix-appstream-data.sh
- new file mode 100644
- index 0000000..6b0ed4f
- --- /dev/null
- +++ /home/llama/.cache/yay/libpamac-aur/fix-appstream-data.sh
- @@ -0,0 +1,10 @@
- +#!/bin/bash
- +tmp="/tmp/fix-appstream-data"
- +while read -r archive; do
- + if [[ $(zcat "${archive}" | grep -cm1 '<em>') == "1" ]]; then
- + zcat "${archive}" | sed 's|<em>||g;s|<\/em>||g;' | sed 's|<code>||g;s|<\/code>||g;'| gzip > "${tmp}"
- + cp "${tmp}" "${archive}"
- + rm "${tmp}"
- + echo " archive ${archive} fixed"
- + fi
- +done
- diff --git /home/llama/.cache/yay/libpamac-aur/pamac.install /home/llama/.cache/yay/libpamac-aur/pamac.install
- new file mode 100644
- index 0000000..10a07b6
- --- /dev/null
- +++ /home/llama/.cache/yay/libpamac-aur/pamac.install
- @@ -0,0 +1,57 @@
- +msg() {
- + ALL_OFF="\e[1;0m"
- + BOLD="\e[1;1m"
- + GREEN="${BOLD}\e[1;32m"
- + local mesg=$1; shift
- + printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
- +}
- +
- +restore_conf() {
- + PAMAC_NEW="$(date +%m%d%M%S)"
- + if [ -f "/etc/pamac.conf.pacsave" ]; then
- + msg "You had an old /etc/pamac.conf.pacsave file. We restore it for you."
- + msg "You can find your new pamac.conf saved as \`/etc/pamac-new-${PAMAC_NEW}.conf\`"
- + mv /etc/pamac.conf /etc/pamac-new-${PAMAC_NEW}.conf
- + mv /etc/pamac.conf.pacsave /etc/pamac.conf
- + fi
- +}
- +
- +post_install() {
- + # enable flatpak repo
- + if [ -f /usr/bin/flatpak ]; then
- + flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- + fi
- + # enable systemd timers
- + mkdir -p /etc/systemd/system/timers.target.wants
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # restore old conf
- + restore_conf
- +}
- +
- +post_upgrade() {
- + # enable flatpak repo
- + if [ -f /usr/bin/flatpak ]; then
- + flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- + fi
- + # restore old conf
- + if [ "$(vercmp $2 7.3.5-3)" -lt 0 ]; then
- + restore_conf
- + fi
- +
- + if [ "$(vercmp $2 8.0.3-5)" -lt 0 ]; then
- + # remove wrong placed symlinks
- + msg "Updating timer symlinks"
- + [[ -e /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer ]] && rm -f /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer
- + # [[ -e /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer ]] && rm -f /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer
- + # enable systemd timers
- + mkdir -p /etc/systemd/system/timers.target.wants
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- + fi
- +}
- +
- +post_remove() {
- + # disable systemd timers
- + rm -f /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # rm -f /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- +}
- ...skipping...
- + msg "Updating timer symlinks"
- + [[ -e /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer ]] && rm -f /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer
- + # [[ -e /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer ]] && rm -f /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer
- + # enable systemd timers
- + mkdir -p /etc/systemd/system/timers.target.wants
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- + fi
- +}
- +
- +post_remove() {
- + # disable systemd timers
- + rm -f /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # rm -f /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- +}
- ...skipping...
- + msg "Updating timer symlinks"
- + [[ -e /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer ]] && rm -f /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer
- + # [[ -e /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer ]] && rm -f /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer
- + # enable systemd timers
- + mkdir -p /etc/systemd/system/timers.target.wants
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- + fi
- +}
- +
- +post_remove() {
- + # disable systemd timers
- + rm -f /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # rm -f /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- +}
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ...skipping...
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- + fi
- +}
- +
- +post_remove() {
- + # disable systemd timers
- + rm -f /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # rm -f /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- +}
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ...skipping...
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- + fi
- +}
- +
- +post_remove() {
- + # disable systemd timers
- + rm -f /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # rm -f /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- +}
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ...skipping...
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- + fi
- +}
- +
- +post_remove() {
- + # disable systemd timers
- + rm -f /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # rm -f /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- +}
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ...skipping...
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- + fi
- +}
- +
- +post_remove() {
- + # disable systemd timers
- + rm -f /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # rm -f /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- +}
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ...skipping...
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- + fi
- +}
- +
- +post_remove() {
- + # disable systemd timers
- + rm -f /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # rm -f /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- +}
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- set mark: ...skipping...
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- + fi
- +}
- +
- +post_remove() {
- + # disable systemd timers
- + rm -f /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # rm -f /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- +}
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- set mark: ...skipping...
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- + fi
- +}
- +
- +post_remove() {
- + # disable systemd timers
- + rm -f /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # rm -f /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- +}
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ...skipping...
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- + fi
- +}
- +
- +post_remove() {
- + # disable systemd timers
- + rm -f /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # rm -f /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- +}
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ...skipping...
- + msg "Updating timer symlinks"
- + [[ -e /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer ]] && rm -f /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer
- + # [[ -e /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer ]] && rm -f /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer
- + # enable systemd timers
- + mkdir -p /etc/systemd/system/timers.target.wants
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- + fi
- +}
- +
- +post_remove() {
- + # disable systemd timers
- + rm -f /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # rm -f /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- +}
- ...skipping...
- + mkdir -p /etc/systemd/system/timers.target.wants
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.want
- s/pamac-cleancache.timer
- + # restore old conf
- + restore_conf
- +}
- +
- +post_upgrade() {
- + # enable flatpak repo
- + if [ -f /usr/bin/flatpak ]; then
- + flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- + fi
- + # restore old conf
- + if [ "$(vercmp $2 7.3.5-3)" -lt 0 ]; then
- + restore_conf
- + fi
- +
- + if [ "$(vercmp $2 8.0.3-5)" -lt 0 ]; then
- + # remove wrong placed symlinks
- + msg "Updating timer symlinks"
- + [[ -e /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer ]] && rm -f /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer
- + # [[ -e /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer ]] && rm -f /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer
- + # enable systemd timers
- + mkdir -p /etc/systemd/system/timers.target.wants
- + ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- + fi
- +}
- +
- +post_remove() {
- + # disable systemd timers
- + rm -f /etc/systemd/system/timers.target.wants/pamac-cleancache.timer
- + # rm -f /etc/systemd/system/timers.target.wants/pamac-mirrorlist.timer
- +}
- (END)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement