blob: d9f3e47b9a4521e1a83877e9058fb213ce62916a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
set -u
pkgname='brother-bradmin-light'
pkgver='1.20.0'; _brfile='qdsel120brl'
pkgrel='1'
pkgdesc='administer Brother printers'
arch=('any')
#url='http://support.brother.com/g/s/id/linux/en/download_esp.html'
url='https://www.brother.com/apps/'
license=('custom:Brother Industries')
depends=('java-environment')
source=("https://www.brother.com/pub/bsc/linux/dlf/${_brfile}.tar.gz")
md5sums=('716bca6f565de905b8f0596f010a17fa')
sha256sums=('a6e09cf8b39be008d0cdf3cdd45c4e23ae1548720415671b8840a81359b09c39')
package() {
local -
set -u
cd "${_brfile}"
install -d "${pkgdir}/opt/brother-bradmin/"
mv * "${pkgdir}/opt/brother-bradmin/"
# Desktop file for config tool
install -Dm644 <(cat << EOF
[Desktop Entry]
Name=BRAdmin Light
GenericName=Brother Printer Manager
Comment=Administer Brother Printers
Exec=java -jar '/opt/brother-bradmin/BRAdmin Light.jar'
Terminal=false
Type=Application
#Icon=
Categories=Settings;Utility;
MimeType=application/x-executable
EOF
) "${pkgdir}/usr/share/applications/brother-bradmin-light.desktop"
}
set +u
|