Commit 108401cc authored by AlmAck's avatar AlmAck

eagle 9.4.1

parent b79d3ea0
#Maintainer: AlmAck <gluca86 [at] chakralinux.org>
pkgname=eagle
pkgver=9.2.2
pkgrel=4
pkgver=9.4.1
pkgrel=1
pkgdesc="A powerful suite for schematic capture and printed circuit board design (aka eaglecad)"
arch=('x86_64')
url="http://www.autodesk.com/products/eagle"
......@@ -11,40 +11,53 @@ license=('custom')
depends=('desktop-file-utils' 'qt5-svg' 'qt5-webengine' 'shared-mime-info')
options=(!emptydirs !strip)
PKGEXT='.pkg.tar'
options=()
source=("https://eagle-updates.circuits.io/downloads/${pkgver//./_}/Autodesk_EAGLE_${pkgver}_English_Linux_64bit.tar.gz"
http://download.autodesk.com/us/FY17/Suites/LSA/en-US/lsa.html
${pkgname}.desktop)
md5sums=('8346acb27da0073bb4dc554bd66e2a23'
'62c0dc062426c05c042ef0712dda484b'
'0cac423d2558b1069a59f0d1b6f98f4a')
options=(!emptydirs !strip)
source=(
# Official source according to website:
# "http://trial2.autodesk.com/NET17SWDLD/2017/EGLPRM/ESD/Autodesk_EAGLE_${pkgver}_English_Linux_64bit.tar.gz"
# Currently, versions are only distributed via circuits.io:
# https://eagle-updates.circuits.io/downloads/latest.html
"https://eagle-updates.circuits.io/downloads/${pkgver//./_}/Autodesk_EAGLE_${pkgver}_English_Linux_64bit.tar.gz"
lsa19.html::"http://download.autodesk.com/us/FY19/Suites/LSA/en-US/lsa.html"
"$pkgname.desktop"
"$pkgname.xml")
md5sums=('29491b980f92a40b92609431026856e9'
'599822afa5b8e7c73ba2159d0f3e6ea1'
'0cac423d2558b1069a59f0d1b6f98f4a'
'df2e0d42b342e94158a9aaa4772eb1e2')
package() {
cd "$srcdir"
# copy files to /opt
install -dm755 "$pkgdir"/{opt,usr/{bin,share/man/man1}}
cp -a $pkgname-$pkgver "$pkgdir/opt/$pkgname"
install -dm755 "$pkgdir"/{opt,usr/bin}
cp -r $pkgname-$pkgver "$pkgdir/opt/$pkgname"
ln -sf "/opt/$pkgname/eagle" "$pkgdir/usr/bin/eagle"
# provide desktop integration
install -Dm644 "$pkgname.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "$srcdir/$pkgname-$pkgver/bin/eagle-logo.png" \
install -Dm644 "$pkgname.xml" \
"$pkgdir/usr/share/mime/packages/$pkgname.xml"
install -Dm644 "$pkgdir/opt/$pkgname/bin/eagle-logo.png" \
"$pkgdir/usr/share/pixmaps/eagle.png"
# install license
install -Dm644 "$srcdir/lsa.html" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 "$srcdir/lsa19.html" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# copy man page
install -Dm644 "$pkgdir"/opt/$pkgname/doc/$pkgname.1 \
"$pkgdir/usr/share/man/man1/$pkgname.1"
# Remove provided X libraries. They cause issues with current mesa and the system libraries seem to work fine.
rm "$pkgdir"/opt/$pkgname/lib/libx*
rm "$pkgdir"/opt/$pkgname/lib/libX*
# Fix permissions (necessary since 8.5.2)
find "$pkgdir" -perm 750 -exec chmod 755 {} \;
find "$pkgdir" -perm 700 -exec chmod 755 {} \;
find "$pkgdir" -perm 640 -exec chmod 644 {} \;
find "$pkgdir" -perm 600 -exec chmod 644 {} \;
}
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-eagle-schematic">
<comment>EAGLE Schematic</comment>
<comment xml:lang="de">EAGLE Schaltplan</comment>
<comment xml:lang="fr">Schéma électronique EAGLE</comment>
<icon name="eagle"/>
<glob-deleteall/>
<sub-class-of type="text/xml"/>
<glob pattern="*.sch"/>
<glob pattern="*.s#1"/>
<glob pattern="*.s#1 "/>
<glob pattern="*.s#2 "/>
<glob pattern="*.s#3 "/>
<glob pattern="*.s#4 "/>
<glob pattern="*.s#5 "/>
<glob pattern="*.s#6 "/>
<glob pattern="*.s#7 "/>
<glob pattern="*.s#8 "/>
<glob pattern="*.s#9 "/>
</mime-type>
<mime-type type="application/x-eagle-board">
<comment>EAGLE Board</comment>
<comment xml:lang="de">EAGLE Platine</comment>
<comment xml:lang="fr">Circuit imprimé EAGLE</comment>
<icon name="eagle"/>
<glob-deleteall/>
<sub-class-of type="text/xml"/>
<glob pattern="*.brd"/>
<glob pattern="*.b#1"/>
<glob pattern="*.b#1 "/>
<glob pattern="*.b#2 "/>
<glob pattern="*.b#3 "/>
<glob pattern="*.b#4 "/>
<glob pattern="*.b#5 "/>
<glob pattern="*.b#6 "/>
<glob pattern="*.b#7 "/>
<glob pattern="*.b#8 "/>
<glob pattern="*.b#9 "/>
</mime-type>
<mime-type type="application/x-eagle-project">
<comment>EAGLE Project</comment>
<comment xml:lang="de">EAGLE Projekt</comment>
<icon name="eagle"/>
<glob-deleteall/>
<sub-class-of type="text/xml"/>
<glob pattern="*.epf"/>
</mime-type>
<mime-type type="application/x-eagle-library">
<comment>EAGLE Library</comment>
<comment xml:lang="de">EAGLE Bibliothek</comment>
<icon name="eagle"/>
<glob-deleteall/>
<sub-class-of type="text/xml"/>
<glob pattern="*.lbr"/>
</mime-type>
</mime-info>
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment