summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Polti2021-01-26 19:15:34 +0100
committerAlexis Polti2021-01-26 19:15:34 +0100
commit87f274ccba256c3b2f9910914d9ab259b8745165 (patch)
treedf007fb57bc6ba17c3851d6d87acfd98d7c75f6c
parent4c7517a9404a66520bb5a7df5f5ee97dadf0a005 (diff)
downloadaur-87f274ccba256c3b2f9910914d9ab259b8745165.tar.gz
Correct copy of /etc/JFlash
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c9265e2cfee3..3a869e277a49 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@
pkgbase = jlink-software-and-documentation
pkgdesc = Segger JLink software & documentation pack for Linux
pkgver = 6.94b
- pkgrel = 0
+ pkgrel = 1
epoch = 34
url = https://www.segger.com/jlink-software.html
install = jlink-software-and-documentation.install
diff --git a/PKGBUILD b/PKGBUILD
index 285601335a01..fe407be79f8b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=jlink-software-and-documentation
pkgver=6.94b
-pkgrel=0
+pkgrel=1
epoch=34
pkgdesc="Segger JLink software & documentation pack for Linux"
arch=('i686' 'x86_64' 'armv7h' 'aarch64' )
@@ -117,8 +117,9 @@ package(){
cp --preserve=mode -r x86 "${pkgdir}/opt/SEGGER/JLink"
fi
- # Cleanup old copy of /etc/
+ # Copy ETC/JFlash at the right place
rm -f ${pkgdir}/etc/JFlash
+ cp --preserve=mode -r ETC/JFlash "${pkgdir}/etc/"
# Create links where needed
ln -s /opt/SEGGER/JLink/Doc/LicenseIncGUI.txt "${pkgdir}/usr/share/licenses/${pkgname}/"