Package Details: paclogger 1.3.1-1

Git Clone URL: https://aur.archlinux.org/paclogger.git (read-only, click to copy)
Package Base: paclogger
Description: A Pacman hook written in C++ that logs all of the updates and downgrades every day.
Upstream URL: https://github.com/alexlnkp/paclogger
Keywords: hook logging pacman
Licenses: Unlicense
Submitter: alexmurkoff
Maintainer: alexmurkoff
Last Packager: alexmurkoff
Votes: 1
Popularity: 0.51
First Submitted: 2024-05-25 18:25 (UTC)
Last Updated: 2025-01-26 21:41 (UTC)

Required by (0)

Sources (1)

Latest Comments

Aliee commented on 2024-12-27 02:26 (UTC)

Broken PKGBUILD My workaround:

# Maintainer: Alex Murkoff <413x1nkp@gmail.com>
pkgname=paclogger
pkgver=1.3.1
pkgrel=1
pkgdesc="A Pacman hook written in C++ that logs all of the updates and downgrades every day."
arch=("x86_64")
url="https://github.com/alexlnkp/paclogger"
license=("Unlicense")
depends=("glibc"
                 "gcc-libs")
makedepends=("cmake")
source=("$pkgname-$pkgver.tar.gz::https://github.com/alexlnkp/paclogger/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('e444c171533b79f0f4b5bf0e993fd384c3554c8ad8601308a5208f8191e4aa5e')

prepare() {
    yay -S ctre --noconfirm
    tar -xvzf $pkgname-$pkgver.tar.gz
    cd $pkgname-$pkgver/
    cp -rvf * ../
    cd ..
    mkdir -p out
}

build() {
    cmake -B build \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -Wno-dev

    cmake --build build
        #remove ctre if you want to.
    yay -Rns ctre
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}

But overall its good as hell! Specially for me Who has a dementia. Upvote!!