Initial commit

This commit is contained in:
Christian Schendel 2025-09-01 05:19:38 +02:00
commit 17c3896ee3
Signed by: doppelhelix
GPG key ID: 5874D2437CD5BBB3
8 changed files with 167 additions and 0 deletions

30
PKGBUILD Normal file
View file

@ -0,0 +1,30 @@
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
# Author: Patrick Brisbin <pbrisbin@gmail.com>
pkgname=downgrade
pkgver=11.5.1
pkgrel=2
pkgdesc="Bash script for downgrading one or more packages to a version in your cache or the A.L.A."
arch=('any')
url="https://github.com/archlinux-downgrade/$pkgname"
license=(
GPL-2.0-or-later
)
backup=(etc/xdg/downgrade/downgrade.conf)
source=("https://github.com/archlinux-downgrade/$pkgname/releases/download/v${pkgver//_/-}/downgrade-${pkgver//_/-}.tar.gz")
b2sums=('f67d61e37ef0543a9abe00062f12ef38a17fc20e199a10b91dd0e8ba604b16c63a0637fb020c513e654f39ff62756a170d45178f9d53074cd69d8b79403bc5ab')
optdepends=(
'sudo: for installation via sudo'
)
package() {
depends+=(
bash
fzf
pacman-contrib
) # pacsort
cd "$pkgname-${pkgver//_/-}" || exit 1
make DESTDIR="$pkgdir" PREFIX=/usr install
}
# vim: set ft=sh ts=4 sw=4 et: