summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMantas Mikulėnas2016-09-22 14:53:02 +0300
committerMantas Mikulėnas2016-09-22 14:53:02 +0300
commitabfabca311d8292fb44b47099efdf850ffae2131 (patch)
tree9936e3ac3e638a09a3d5d7744d6292069c0e4094 /PKGBUILD
downloadaur-abfabca311d8292fb44b47099efdf850ffae2131.tar.gz
release 11.13.1.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0f419ba5336
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Mantas Mikulėnas <grawity@gmail.com>
+pkgname=autodesk-nlm
+pkgver=11.13.1.2
+pkgrel=1
+pkgdesc="FLEXnet License Manager + Autodesk® vendor daemon"
+arch=(x86_64)
+url="https://knowledge.autodesk.com/customer-service/network-license-administration"
+license=(custom:'¯\_(ツ)_/¯')
+depends=('gcc-libs' 'ld-lsb')
+source=("http://download.autodesk.com/us/support/files/network_license_manager/11_13_1_2_v2/Linux/nlm11.13.1.2_ipv4_ipv6_linux64.tar.gz")
+md5sums=('2a531d68bda033f907e6c85e81e5b160')
+sha256sums=('f2770d6acbfa24495e7375b8c5b348066c4063df54c0c96c87103c0f0b9b9779')
+
+prepare() {
+ bsdtar xvf "nlm${pkgver}_ipv4_ipv6_linux64.rpm"
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/lib"
+ cp -a opt/flexnetserver "$pkgdir/usr/lib/flexnetserver"
+
+ mkdir -p "$pkgdir/usr/bin"
+ ln -s ../lib/flexnetserver/lmutil "$pkgdir/usr/bin/lmutil"
+ for bin in lm{borrow,diag,hostid,stat}; do
+ ln -s lmutil "$pkgdir/usr/bin/$bin"
+ done
+}
+
+# vim: ts=2:sw=2:et: