diff options
author | Matt Kline | 2016-09-13 23:14:34 -0700 |
---|---|---|
committer | Matt Kline | 2016-09-13 23:14:34 -0700 |
commit | 1bfcaa2cd59de52da978fe33e5cf2b50098b1db8 (patch) | |
tree | e6076f0921057815669c15ceed663d2f013fbe42 | |
parent | 0d882532ad7e6a8225b3f994a26f591175d2750b (diff) | |
download | aur-1bfcaa2cd59de52da978fe33e5cf2b50098b1db8.tar.gz |
Properly package a needed configuration program
Without brprintconf_hl3180cdw, all print jobs are done with
default options.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 4 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri Sep 2 15:56:40 UTC 2016 +# Wed Sep 14 06:14:27 UTC 2016 pkgbase = brother-hl3180cdw pkgdesc = LPR and CUPS driver for the Brother HL-3180CDW pkgver = 1.1.4 - pkgrel = 1 + pkgrel = 2 url = http://support.brother.com/g/b/downloadtop.aspx?c=us&lang=en&prod=hl3180cdw_us_as install = brother-hl3180cdw.install arch = i686 @@ -1,7 +1,7 @@ # Maintainer: Matt Kline <matt at bitbashing dot io> pkgname='brother-hl3180cdw' pkgver=1.1.4 -pkgrel=1 +pkgrel=2 pkgdesc="LPR and CUPS driver for the Brother HL-3180CDW" arch=('any') url='http://support.brother.com/g/b/downloadtop.aspx?c=us&lang=en&prod=hl3180cdw_us_as' @@ -34,12 +34,15 @@ prepare() { } package() { - # Copy over drivers and cups wrapper files + # Copy over drivers, cups wrapper files, and the config program mkdir -p "$pkgdir/usr/share" cp -r "$srcdir/opt/brother/Printers" "$pkgdir/usr/share/brother" + cp -r "$srcdir/usr/bin" "$pkgdir/usr/" + # Strip out the script we just ran and the PPD rm "$pkgdir/usr/share/brother/hl3180cdw/cupswrapper/cupswrapperhl3180cdw" mv "$pkgdir/usr/share/brother/hl3180cdw/cupswrapper/brother_hl3180cdw_printer_en.ppd" ppd_file + # Install the PPD, the filter, and the license. install -m 644 -D ppd_file "$pkgdir/usr/share/cups/model/brother_hl3180cdw_printer_en.ppd" install -m 755 -D wrapper "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_hl3180cdw" |