Skip to content

Instantly share code, notes, and snippets.

@DeadNumbers
Created February 13, 2016 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DeadNumbers/d7303b421336e9e75fe6 to your computer and use it in GitHub Desktop.
Save DeadNumbers/d7303b421336e9e75fe6 to your computer and use it in GitHub Desktop.
# Author: Julien MISCHKOWITZ <wain@archlinux.fr>
# Author: tuxce <tuxce.net@gmail.com>
pkgname=yaourt
pkgver=1.7
pkgrel=1
pkgdesc="A pacman wrapper with extended features and AUR support"
arch=('any')
url="https://github.com/archlinuxfr/yaourt"
license=(GPL)
depends=('diffutils' 'pacman>=4.1' 'package-query>=1.4' 'gettext')
optdepends=('aurvote: vote for favorite packages from AUR'
'customizepkg: automatically modify PKGBUILD during install/upgrade'
'rsync: retrieve PKGBUILD from official repositories')
backup=('etc/yaourtrc')
source=(http://mir.archlinux.fr/~tuxce/releases/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('6ef48b88c7127b1edd45fee4763b1ced')
build() {
cd "$srcdir/$pkgname-$pkgver/"
make PREFIX=/usr sysconfdir=/etc localstatedir=/var
}
package() {
cd "$srcdir/$pkgname-$pkgver/"
make PREFIX=/usr sysconfdir=/etc localstatedir=/var DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment