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.4
|
|
pkgrel=1
|
|
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=('cdf2dabaf3fa035830fc9815e1d6ff837a44af0dfecb0557c679f5b52fa354c1ae2c0c7d77e505591d98886c3c3d6bdd845d39ef5baada33e97e6fa1822d5b81')
|
|
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:
|