summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-udev-rules/PKGBUILD
blob: 67cd77d0efd8c5fef145e6ecc5e88df86f9f94a6 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
pkgname="linhes-udev-rules"
pkgver=8
pkgrel=2
arch=(i686 x86_64)
license=('GPL')
groups=('base')
# older initscripts versions required start_udev
options=(!makeflags !libtool)
makedepends=()
source=(
    81-CD_DVD_symlinks.rules
	81-OSS_Emulation.rules
	81-dvicoIR.rules
	81-remote.rules
	81-SoundGraph_LCD.rules
	81-SoundGraph.rules
    cdsymlinks.sh)
    #75-cd-aliases-generator.rules
    #rule_generator.functions
    #write_cd_rules)


build() {
  cd $srcdir
  # Install our rule for permissions and symlinks
  #install -D -m644 $srcdir/81-arch.rules $pkgdir/lib/udev/rules.d/81-arch.rules

  # Install OSS Emulation rules
  install -D -m644 $srcdir/81-OSS_Emulation.rules $pkgdir/lib/udev/rules.d/81-OSS_Emulation.rules
  # Install dvicoIR rules
  install -D -m644 $srcdir/81-dvicoIR.rules $pkgdir/lib/udev/rules.d/81-dvicoIR.rules
  install -D -m644 $srcdir/81-remote.rules $pkgdir/lib/udev/rules.d/81-remote.rules
  # Install CD/DVD symlink rules
  install -D -m644 $srcdir/81-CD_DVD_symlinks.rules  $pkgdir/lib/udev/rules.d/81-CD_DVD_symlinks.rules
  #install -D -m644 $srcdir/75-cd-aliases-generator.rules $pkgdir/lib/udev/rules.d/75-cd-aliases-generator.rules
  # Install SoundGraph LCD rules
  install -D -m644 $srcdir/81-SoundGraph_LCD.rules $pkgdir/lib/udev/rules.d/81-SoundGraph_LCD.rules
  # Install SoundGraph rules
  install -D -m644 $srcdir/81-SoundGraph.rules $pkgdir/lib/udev/rules.d/81-SoundGraph.rules
  # install cdsymlinks.sh
  install -D -m755 $srcdir/cdsymlinks.sh $pkgdir/lib/udev/cdsymlinks.sh

 #taken from suse
  #install -D -m755 $srcdir/write_cd_rules $pkgdir/lib/udev/write_cd_rules
  #install -D -m755 $srcdir/rule_generator.functions $pkgdir/lib/udev/rule_generator.functions

}

md5sums=('48845542d8250d6f2eddf07944f78014'
         '18170020347b181b155ff5a1a8a904b4'
         '85798a6599d4b24b68600c5f1d1f223b'
         'e4ea27dd01322eeedda4442a4f10a7d0'
         '5401def23fae53db3c94e39eb2debfb4'
         '01eeeb532e1c82a12905c67814c1dde2'
         '2e808ee78d237c478b57af2a68d43769')