From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: brother-hl5340d-lpr-2.0.3
Date: Wed, 10 Jul 2019 07:14:16 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12954@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 343 bytes --]
There is a new pull request by Monkey-7-12 against master on the void-packages repository
https://github.com/Monkey-7-12/void-packages brother-hl5340d-lpr
https://github.com/void-linux/void-packages/pull/12954
New package: brother-hl5340d-lpr-2.0.3
A patch file from https://github.com/void-linux/void-packages/pull/12954.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-brother-hl5340d-lpr-12954.patch --]
[-- Type: application/text/x-diff, Size: 1767 bytes --]
From 4a63415235c9d5b01e3c421c690951338eb9f84b Mon Sep 17 00:00:00 2001
From: Monkey 7 <monkeyseven@fblog.ch>
Date: Wed, 10 Jul 2019 07:02:55 +0200
Subject: [PATCH] New package: brother-hl5340d-lpr-2.0.3
---
srcpkgs/brother-hl5340d-lpr/template | 40 ++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 srcpkgs/brother-hl5340d-lpr/template
diff --git a/srcpkgs/brother-hl5340d-lpr/template b/srcpkgs/brother-hl5340d-lpr/template
new file mode 100644
index 00000000000..f8287b2238b
--- /dev/null
+++ b/srcpkgs/brother-hl5340d-lpr/template
@@ -0,0 +1,40 @@
+# Template file for 'brother-hl5340d-lpr'
+pkgname=brother-hl5340d-lpr
+_br_version=2.0.3
+_br_revision=1
+version=${_br_version}
+revision=1
+archs="i686 x86_64"
+create_wrksrc=yes
+make_dirs="/var/spool/lpd 0775 root lp"
+depends="a2ps ghostscript"
+short_desc="LPR driver for the brother HL5340D printer"
+maintainer="Monkey 7<monkeyseven@fblog.ch>"
+license="brother-eula GPL-2"
+homepage="http://support.brother.com"
+distfiles="http://www.brother.com/pub/bsc/linux/dlf/hl5340dlpr-${version}-${_br_revision}.i386.deb"
+checksum="32f2d3e0297bbbcc4aab70f911fab3ba3cc6a0eb98c3569dfcb22beef6e32c19"
+nopie=yes
+patch_args="-Np1"
+
+
+if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+ depends+=" glibc-32bit"
+fi
+
+do_extract() {
+ ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/hl5340dlpr-${_br_version}-${_br_revision}.i386.deb
+ tar xzpvf data.tar.gz -C ${wrksrc}
+}
+
+do_install() {
+ mkdir -p ${DESTDIR}
+ cp -a ${wrksrc}/usr ${DESTDIR}/
+ if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+ mkdir -p ${DESTDIR}/usr/lib32/
+ mv ${DESTDIR}/usr/lib/* ${DESTDIR}/usr/lib32/
+ fi
+ mv ${DESTDIR}/usr/local/Brother ${DESTDIR}/usr/lib/brother
+ rm -rf ${DESTDIR}/usr/local
+}
+
next reply other threads:[~2019-07-10 5:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-10 5:14 voidlinux-github [this message]
2019-07-11 3:18 ` voidlinux-github
2019-07-11 5:12 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-11 5:12 ` voidlinux-github
2019-07-11 5:19 ` [PR PATCH] [Closed]: " voidlinux-github
-- strict thread matches above, loose matches on Subject: below --
2019-07-09 16:25 [PR PATCH] " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12954@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).