blob: 23bb28f1b6df3dd9133767711bfb6f63ea849c8e (
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
|
# Maintainer: William Tang <galaxyking0419@gmail.com>
# Co-Maintainer: Robert Zhou <meep (dot) aur (at) meepzh (dot) com>
pkgname=adsklicensing
pkgver=13.3.1.9694
pkgrel=1
pkgdesc='Autodesk License Checking Software'
arch=('x86_64')
url="https://www.autodesk.com/"
license=('custom')
depends=('adlmapps>=29')
DLAGENTS+=('manual::/usr/bin/echo \ \ Note: Please download the package manually from the official website')
source=("manual://adsklicensing${pkgver}-0-0.x86_64.rpm")
b2sums=('c9bbec9dd853644d9256b921658aa96dbaab98d3c136f5327544255bae4563974356e0c1f8e7cd06f0306cc94013e4c3792c67fa29395368b1c4ab32a9ada5ea')
options=(!strip)
install='adsklicensing.install'
prepare() {
# Link service program in /usr/bin/
mkdir -p usr/bin
ln -s /opt/Autodesk/AdskLicensing/${pkgver}/AdskLicensingService/AdskLicensingService usr/bin/AdskLicensingService
# Remove init service file
rm opt/Autodesk/AdskLicensing/${pkgver}/AdskLicensingService/adsklicensing.el6.conf
# Move systemd service file
chmod 644 opt/Autodesk/AdskLicensing/${pkgver}/AdskLicensingService/adsklicensing.el7.service
mkdir -p usr/lib/systemd/system
mv opt/Autodesk/AdskLicensing/${pkgver}/AdskLicensingService/adsklicensing.el7.service \
usr/lib/systemd/system/adsklicensing.service
# Move font files
mkdir -p usr/local/share/fonts
mv opt/Autodesk/AdskLicensing/${pkgver}/AdskLicensingService/res/fonts usr/local/share/fonts/ArtifaktElement
}
package() {
mv opt usr "$pkgdir/"
}
|