summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Solano Gómez <daniel@solanogomez.org>2017-10-16 20:48:51 -0500
committerDaniel Solano Gómez <daniel@solanogomez.org>2017-10-16 20:48:57 -0500
commitab9893e13d43e38d2312043917429d47f5390f14 (patch)
treecc45bfe98f520b2310165fe4a203716e53901188 /media-gfx/libsane-dsseries-bin
parentadd media-gfx/libsane-dsseries-bin (diff)
downloadsattvik-ab9893e13d43e38d2312043917429d47f5390f14.tar.gz
sattvik-ab9893e13d43e38d2312043917429d47f5390f14.tar.bz2
sattvik-ab9893e13d43e38d2312043917429d47f5390f14.zip
Update how files are created
Diffstat (limited to 'media-gfx/libsane-dsseries-bin')
-rw-r--r--media-gfx/libsane-dsseries-bin/Manifest4
-rw-r--r--media-gfx/libsane-dsseries-bin/files/60-libsane-dsseries.rules2
-rw-r--r--media-gfx/libsane-dsseries-bin/files/dsseries.conf1
-rw-r--r--media-gfx/libsane-dsseries-bin/libsane-dsseries-bin-1.0.5_p1.ebuild11
4 files changed, 8 insertions, 10 deletions
diff --git a/media-gfx/libsane-dsseries-bin/Manifest b/media-gfx/libsane-dsseries-bin/Manifest
index 2527d2c..1687364 100644
--- a/media-gfx/libsane-dsseries-bin/Manifest
+++ b/media-gfx/libsane-dsseries-bin/Manifest
@@ -1,3 +1,5 @@
+AUX 60-libsane-dsseries.rules 126 SHA256 fce90753c69281d38111ff06c0367ddb46895044352e9cbf72346e3efb08d0be SHA512 a70b36a3aaad7c7639733d7d9c5d594c2b27ac46a4992ccb158949bded2df941fbd9b56edee85d516ee505ff6d53e2d7056c6bf82f55e4e13cd80c6219611861 WHIRLPOOL 9b42b5f97471076ec1b73a3c12c11278018d977a934fd89e299c761641f8b85e8cdd6676b1b9be116dd0927decdadb908a095987a2bf89fca9fc22c0aaa9806c
+AUX dsseries.conf 9 SHA256 4c8ae2b539dffa61f212e80d515e8a69c3c717a810b17b3210b8472b92299493 SHA512 4e41506747cba66c5ee849bf2d6ce6dd2221681ad0f8d322dd5e9a9c5eebf6a9812cbec4e81625405c008a9219c9d581e1803bc57964946bd1b19f5504d83205 WHIRLPOOL 3306e18ce5c90ec6e7776556c03abfae73c64aefc99da7bf2e852cda914fea420f4d43f067dcf03bc35815b97c34a2ab4d6fb2944e907eceef121f9fb3733353
DIST libsane-dsseries_1.0.5-1_amd64.deb 211312 SHA256 4e0b649df73f8e9900c045d5bbf7361fd32ca7e3dc18ca2723406fca66809927 SHA512 cdd2e0a1d588e0bbe22eb2ad4721467f6f786ae997c17b0192d832ba9a329dbd08a059a2a0b8f60be015e463383d3de4ec8729741bd9e06bfe5e09fcb2e2b826 WHIRLPOOL e74b116b9e14d1ef2b999b31f98765a37a9cd3456711df17c11ed8b456bfac137b57ce8c3739a9ec01438eeefebd7e73bfe6619aec8d77257ad4248b36cfc851
-EBUILD libsane-dsseries-bin-1.0.5_p1.ebuild 1354 SHA256 547532491217b2ed5a709dd9c8e02a4901fc2175129ad3e70926d38ba0bc6fdb SHA512 361fd734c53def344af1ba989380daeab4deb862c86c12ed223a089476fd37f1d300ee73f218579fd851bd29974633b668896e619346ba372211b54467a1084c WHIRLPOOL 032a1c5f3626a1c7c721d78ec357021b0dcc98ea2ffdd2145f945fe746938b378e47199831cfd0d41b13879aab492e55cdac9ded3a667ae803148cf8fa8e5bb3
+EBUILD libsane-dsseries-bin-1.0.5_p1.ebuild 1155 SHA256 061c52b4a5717bcca7549b80a0933e040ccbeba55f7131ea7e5e755d8d73498f SHA512 9e1b7ccf0d7480ca20d5f734635e756a9490988c233facd63e910b24f6a769fab0ebf9062b44465c4b78f81dfe325b7bb263cb5a2759b0a0f51aa5502baafd49 WHIRLPOOL 22b584a344c229c2189b1b35f82bbc60fc657e87414c540810cd68d079b7618d1924e5edac09656ac3b6596786cba20db6e24ad726993138377b3b021350f696
MISC metadata.xml 258 SHA256 3d6905cf3d3b29bd8fb2789198b243b3499e6bca73665ddc0f97525cc7ab349d SHA512 4cfc761fa9825ff2c8ed065ce5351ee4f9d8a442a72b71300264ffb6e83caac5a6b841d9316f40e917a32d6ea576383ffa36650e98317e8c5553be4e5e91bf90 WHIRLPOOL 23658eec05e93c4bafceefe293fa5081d4623517b3f0761b4020f74137ab9bc7de14c09b4e2832c5f2da09f9cbf38be721ed01896384c9fb8fd05495351acdde
diff --git a/media-gfx/libsane-dsseries-bin/files/60-libsane-dsseries.rules b/media-gfx/libsane-dsseries-bin/files/60-libsane-dsseries.rules
new file mode 100644
index 0000000..f4143a6
--- /dev/null
+++ b/media-gfx/libsane-dsseries-bin/files/60-libsane-dsseries.rules
@@ -0,0 +1,2 @@
+# Brother DS-720D
+ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="60e2", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
diff --git a/media-gfx/libsane-dsseries-bin/files/dsseries.conf b/media-gfx/libsane-dsseries-bin/files/dsseries.conf
new file mode 100644
index 0000000..4f6c360
--- /dev/null
+++ b/media-gfx/libsane-dsseries-bin/files/dsseries.conf
@@ -0,0 +1 @@
+dsseries
diff --git a/media-gfx/libsane-dsseries-bin/libsane-dsseries-bin-1.0.5_p1.ebuild b/media-gfx/libsane-dsseries-bin/libsane-dsseries-bin-1.0.5_p1.ebuild
index 71f9032..a0ccc9d 100644
--- a/media-gfx/libsane-dsseries-bin/libsane-dsseries-bin-1.0.5_p1.ebuild
+++ b/media-gfx/libsane-dsseries-bin/libsane-dsseries-bin-1.0.5_p1.ebuild
@@ -26,13 +26,6 @@ S="${WORKDIR}"
src_unpack() {
unpack_deb ${A}
- echo > dsseries.conf <<EOF
-dsseries
-EOF
- echo > 60-libsane-brother-dsseries.rules <<EOF
-# Brother DS-720D
-ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="60e2", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
-EOF
}
src_install() {
@@ -46,10 +39,10 @@ src_install() {
insinto /etc/sane.d/dll.d
insopts -m0644
- doins dsseries.conf
+ doins "${FILESDIR}/dsseries.conf"
insinto /etc/sane.d
doins "usr/lib/tmp_DSDriver/dsseries.conf"
- udev_dorules 60-libsane-brother-dsseries.rules
+ udev_dorules "${FILESDIR}/60-libsane-dsseries.rules"
}