Created
February 11, 2014 07:47
-
-
Save noqisofon/8930717 to your computer and use it in GitHub Desktop.
brother-dcpj132n-lpr は無事にインストールでけた!! が……
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=brother-dcpj132n-lpr | |
pkgver=3.0.0_1 | |
pkgrel=1 | |
pkgdesc='LPR driver for Brother ink printer DCP-J132N' | |
arch=('i686' 'x86_64') | |
url='http://solutions.brother.co.jp' | |
license=('LGPL') | |
depends=('cups') | |
makedepends=('rpmextract') | |
source=("http://solutions.brother.co.jp/support/os/linux/dlf/dcpj132nlpr-${pkgver/_/-}.i386.rpm") | |
md5sums=('7b8294ff47a6a570fe5cdf78f032bf90') | |
build() { | |
cd "$srcdir" | |
rpmextract.sh "dcpj132nlpr-${pkgver/_/-}.i386.rpm" | |
} | |
package() { | |
cd "$srcdir" | |
find . -type f | while read file | |
do | |
local newfile="${pkgdir}/${file}" | |
install -DT "$file" "$newfile" | |
done | |
chmod a+w "${pkgdir}/opt/brother/Printers/dcpj132n/inf/brdcpj132nrc" | |
chmod a+w "${pkgdir}/opt/brother/Printers/dcpj132n/inf" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment