mirror of
https://github.com/archlinux/aur.git
synced 2026-02-10 15:29:38 +01:00
move 99-link.rules to /usr/lib/udev/rules.d/
This commit is contained in:
parent
a3de9778d1
commit
bc1524eca7
2 changed files with 6 additions and 5 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -1,9 +1,9 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Tue Apr 2 00:15:54 UTC 2019
|
||||
# Thu Apr 4 12:24:23 UTC 2019
|
||||
pkgbase = jlink-software-and-documentation
|
||||
pkgdesc = Segger JLink software & documentation pack for Linux
|
||||
pkgver = 6.44d
|
||||
pkgrel = 5
|
||||
pkgrel = 6
|
||||
epoch = 16
|
||||
url = https://www.segger.com/jlink-software.html
|
||||
install = jlink-software-and-documentation.install
|
||||
|
|
|
|||
7
PKGBUILD
7
PKGBUILD
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
pkgname=jlink-software-and-documentation
|
||||
pkgver=6.44d
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
epoch=16
|
||||
pkgdesc="Segger JLink software & documentation pack for Linux"
|
||||
arch=('i686' 'x86_64')
|
||||
|
|
@ -36,7 +36,7 @@ package(){
|
|||
"${pkgdir}/usr/share/licenses/${pkgname}" \
|
||||
"${pkgdir}/usr/lib/" \
|
||||
"${pkgdir}/usr/bin/" \
|
||||
"${pkgdir}/etc/udev/rules.d/" \
|
||||
"${pkgdir}/usr/lib/udev/rules.d/" \
|
||||
"${pkgdir}/usr/share/doc/${pkgname}/"
|
||||
|
||||
cd "${srcdir}/JLink"
|
||||
|
|
@ -50,7 +50,8 @@ package(){
|
|||
# Create links where needed
|
||||
ln -s /opt/SEGGER/JLink/Doc/LicenseIncGUI.txt "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||
sed -i 's/0x//g' 99-jlink.rules
|
||||
install -Dm644 99-jlink.rules "${pkgdir}/etc/udev/rules.d/"
|
||||
install -Dm644 99-jlink.rules "${pkgdir}/usr/lib/udev/rules.d/"
|
||||
rm -f "${pkgdir}/etc/udev/rules.d/99-jlink.rules"
|
||||
|
||||
for f in J*; do
|
||||
ln -s /opt/SEGGER/JLink/"$f" "${pkgdir}/usr/bin"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue