mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 06:38:44 +01:00
Cleanup wrong location of ETC/J*
This commit is contained in:
parent
3b58b7ce20
commit
3b41ad6d8a
2 changed files with 6 additions and 2 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = jlink-software-and-documentation
|
||||
pkgdesc = Segger JLink software & documentation pack for Linux
|
||||
pkgver = 6.80d
|
||||
pkgrel = 0
|
||||
pkgrel = 2
|
||||
epoch = 28
|
||||
url = https://www.segger.com/jlink-software.html
|
||||
install = jlink-software-and-documentation.install
|
||||
|
|
|
|||
6
PKGBUILD
6
PKGBUILD
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
pkgname=jlink-software-and-documentation
|
||||
pkgver=6.80d
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
epoch=28
|
||||
pkgdesc="Segger JLink software & documentation pack for Linux"
|
||||
arch=('i686' 'x86_64')
|
||||
|
|
@ -38,6 +38,7 @@ package(){
|
|||
"${pkgdir}/usr/share/licenses/${pkgname}" \
|
||||
"${pkgdir}/usr/lib/" \
|
||||
"${pkgdir}/usr/bin/" \
|
||||
"${pkgdir}/etc/" \
|
||||
"${pkgdir}/usr/lib/udev/rules.d/" \
|
||||
"${pkgdir}/usr/share/doc/${pkgname}/"
|
||||
|
||||
|
|
@ -49,6 +50,9 @@ package(){
|
|||
cp --preserve=mode -r x86 "${pkgdir}/opt/SEGGER/JLink"
|
||||
fi
|
||||
|
||||
# Cleanup old copy of /etc/
|
||||
rm -f ${pkgdir}/etc/JFlash
|
||||
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue