PKGBUILD 1007 B

12345678910111213141516171819202122232425262728293031
  1. # Author: Julien MISCHKOWITZ <wain@archlinux.fr>
  2. # Author: tuxce <tuxce.net@gmail.com>
  3. # Contributor: Skunnyk <skunnyk@archlinux.fr>
  4. pkgname=yaourt
  5. pkgver=1.8.1
  6. pkgrel=1
  7. pkgdesc="A pacman wrapper with extended features and AUR support"
  8. arch=('any')
  9. url="https://github.com/archlinuxfr/$pkgname"
  10. license=(GPL)
  11. depends=('diffutils' 'pacman>=5.0' 'package-query>=1.8' 'gettext')
  12. optdepends=('aurvote: vote for favorite packages from AUR'
  13. 'customizepkg: automatically modify PKGBUILD during install/upgrade'
  14. 'rsync: retrieve PKGBUILD from official repositories')
  15. backup=('etc/yaourtrc')
  16. source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz")
  17. sha256sums=('f5da1144f2d4e9754bc5728116a79a9c78469f6587321c4c766812f06393ca92')
  18. build() {
  19. cd "$srcdir/$pkgname-$pkgver/"
  20. make PREFIX=/usr sysconfdir=/etc localstatedir=/var
  21. }
  22. package() {
  23. cd "$srcdir/$pkgname-$pkgver/"
  24. make PREFIX=/usr sysconfdir=/etc localstatedir=/var DESTDIR="$pkgdir" install
  25. }
  26. # vim:set ts=2 sw=2 et: