summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Kline2016-09-01 22:14:08 -0700
committerMatt Kline2016-09-01 22:14:30 -0700
commitb622d5d77834188a0ef82c9a8b66fd83f56a1354 (patch)
tree0a968a588602694b0965d4835948d8e15d16af1e
parent355e492a05387c39a6969cce7a54a49ec2e7ba86 (diff)
downloadaur-b622d5d77834188a0ef82c9a8b66fd83f56a1354.tar.gz
Add lpr license
-rw-r--r--PKGBUILD7
-rw-r--r--lpr-license.txt7
2 files changed, 12 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0e8d3587d850..78d204ddc2ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,17 +5,19 @@ pkgrel=1
pkgdesc="LPR and CUPS driver for the Brother HL-318CDW"
arch=('any')
url="https://github.com/khaledhosny/xits-math"
-license=('custom:brother')
+license=('GPL version 2 for CUPS driver, custom:brother commercial license for LPR driver.')
depends=('cups')
arch=('i686' 'x86_64')
depends_x86_64=('lib32-glibc')
install='brother-hl3180cdw.install'
source=(
'brother-hl3180cdw.patch'
+ 'lpr-license.txt'
'http://download.brother.com/welcome/dlf102680/hl3180cdwlpr-1.1.3-0.i386.rpm'
'http://download.brother.com/welcome/dlf102681/hl3180cdwcupswrapper-1.1.4-0.i386.rpm'
)
md5sums=('14bd3e7abdc7783b6c7ad2ced3707b8c'
+ '80407224bc8f4b5656de6271144f9e19'
'1b34a004a808e7149419e04e8a31d5c3'
'faf5cd7771c5ef0939d0e37fd16506d6')
@@ -38,7 +40,8 @@ package() {
# 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 and filter.
+ # 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"
+ install -Dm644 lpr-license.txt "$pkgdir/usr/share/licenses/brother/lpr-licence.txt"
}
diff --git a/lpr-license.txt b/lpr-license.txt
new file mode 100644
index 000000000000..8c604ae3ec7b
--- /dev/null
+++ b/lpr-license.txt
@@ -0,0 +1,7 @@
+This Agreement provides terms and conditions for license grant from Brother Industries, Ltd ("Broher"). Brother, who owns all copyrights to the software that is distributed with this Agreement ("Software") to recipients thereof ("User"), for use of the Software. User shall have the right to use the Software only in accordance with the terms and conditions of this Agreement. Any use by User of the Software shall be deemed as its agreement hereto.
+
+Brother retains any and all copyrights to the Software. In no case this Agreement shall be construed to assign or otherwise transfer from Brother to User any copyrights or other intellectual property rights to whole or any part of the Software.
+
+Brother grants User a non-exclusive license: to reproduce and/or distribute (via Internet or in any other manner) the Software. Further, Brother grants User a non-exclusive license to modify, alter, translate or otherwise prepare derivative works of the Software and to reproduce and distribute (via Internet or in any other manner) such modification, alteration, translation or other derivative works for any purpose.
+
+The license of the Software from Brother hereunder is granted "AS IS." BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO THE SOFTWARE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT. Brother shall have no liability in contract, tort (including negligence or breach of statutory duty) or otherwise for any interruption of use, loss of data, or for any indirect, incidental, punitive or consequential loss or damage, or for any loss of profit, revenue, data, goodwill or anticipated savings that arises under, out of, or in contemplation of this Agreement or otherwise arises due to any error, inaccuracy or defect in the Software even if Brother has been advised of the possibility of such loss or damage. Further, Brother shall have no liability to disclose and/or distribute the source cord of the Software to User under any circumstances. In no case shall the above license by Brother to modify, alter, translate or otherwise prepare derivative works of the Software be construed as Brother's implied agreement or undertakings to disclose and/or distribute the source cord of the Software.