Guest User

PKGBUILD

a guest
Mar 8th, 2021
563
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Nícolas Bordignon dos Santos <nicolas.bordignon16@gmail.com>
  2. # Co-Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
  3. # Contributor: Bjoern Franke <bjo+aur@schafweide.org>
  4. # Contributor: Filipe Laíns (FFY00) <lains@archlinux.org>
  5. # Contributor: James An <james@jamesan.ca>
  6. # Contributor: Stefano Bergamini <bergs at live dot it>
  7. # Contributor: Heiko Baums <heiko@baums-on-web.de>
  8. # Contributor: Quentin Foussette <quentinf7@gmail.com>
  9. # Contributor: MetaNova
  10.  
  11. pkgname=epson-inkjet-printer-escpr
  12. pkgver=1.7.9
  13. pkgrel=1
  14. pkgdesc='Epson Inkjet Printer Driver (ESC/P-R) for Linux'
  15. arch=('x86_64' 'aarch64')
  16. url='http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX'
  17. license=('GPL2')
  18. depends=('cups' 'ghostscript')
  19. source=('https://download3.ebz.epson.net/dsc/f/03/00/12/50/95/322b8d6b915ab85add33d41f04ba5130866aadbe/epson-inkjet-printer-escpr-1.7.9-1lsb3.2.tar.gz'
  20. 'bug_x86_64.patch')
  21. sha512sums=('93eb130d0d0daa3f3dc57c916e29bf1222e39ffacd1bf033a0b5e53654ec46462e8f18a6a845ce273fafd6b0c778ca61f3211b8709bb2099af79b4a23d814203'
  22. '91354f7087bc9f8a9591336ee49b60bd947030ee2cf5152ba5ca117d73e6cdeca2fbdfe090478ae362aba0d021ed1ae06646a443f7ed859278ceb5cd207e2788')
  23.  
  24.  
  25. prepare() {
  26. cd $pkgname-$pkgver
  27.  
  28. patch -p1 < ../bug_x86_64.patch
  29.  
  30. autoreconf -vif
  31. }
  32.  
  33. build() {
  34. cd $pkgname-$pkgver
  35.  
  36. ./configure \
  37. --prefix=/usr \
  38. --with-cupsfilterdir=/usr/lib/cups/filter \
  39. --with-cupsppddir=/usr/share/ppd
  40.  
  41. make
  42. }
  43.  
  44. package() {
  45. cd $pkgname-$pkgver
  46.  
  47. make DESTDIR="$pkgdir" install
  48. }
RAW Paste Data