30 lines
924 B
Bash
30 lines
924 B
Bash
# 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:
|