jobextra/yaourt/PKGBUILD

61 lines
1.9 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
# Maintainer: Yianiris <yianiris@disroot.org>
################
# NOTE: by the maintainer
# The original source was stored at http://www.archlinux.fr/yaourt-en
# But it was removed due to pressure from archlinux as the package
# no longer meets the safety standards. Personally I believe the reasons
# relate to logind and the package's elevation of privileges without
# utilizing the logind of systemd. Same reasoning and attempt to
# deprecate gksu/gksudo. For many years was by far the number one
# AUR and pacman wrapper of choice.
# No alteration to the source was made as far as you can trust my saying so
# #############
pkgname=yaourt
pkgver=1.9
pkgrel=04
pkgdesc='A pacman wrapper with extended features and AUR support'
arch=('any')
url='https://framagit.org/yilinux/yaourt'
#
# OLD YAOURT SRC SITE REMOVED SHORTLY AFTER THIS FORK #
#url='http://www.archlinux.fr/yaourt-en/'
#
depends=('diffutils' 'pacman>=6' 'package-query' 'git' 'lzip')
makedepends=('git' 'sed' 'gettext')
optdepends=('aurvote: vote for favorite packages from AUR for inclusion in [community]'
'customizepkg: automatically modify PKGBUILD during install/upgrade'
'rsync: retrieve PKGBUILD from official repositories')
provides=('yaourt')
conflicts=('yaourt-git' 'yaourtix')
backup=('etc/yaourtrc')
source=(git+$url) # https://framagit.org/yilinux/yaourt
build() {
cd ${srcdir}/${pkgname}/src
make PREFIX=/usr sysconfdir=/etc localstatedir=/var
}
package() {
cd "$srcdir/$pkgname/src"
make PREFIX=/usr sysconfdir=/etc localstatedir=/var DESTDIR="$pkgdir" install
}
#---- license gpg-key sha256sums ----
license=('GPL')
sha256sums=(SKIP)