summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhillip Schichtel2016-04-10 23:44:16 +0200
committerPhillip Schichtel2017-06-02 18:09:53 +0200
commita6d4e73d8e845cbf942439d96a4393eacbb7fb2e (patch)
tree7a6551beb82ae2e0b70d5d32607ee66715e14df0
downloadaur-a6d4e73d8e845cbf942439d96a4393eacbb7fb2e.tar.gz
init
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore4
-rw-r--r--Makefile12
-rw-r--r--PKGBUILD49
-rw-r--r--jprofiler9.desktop9
5 files changed, 92 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..eaff9fd367d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Fri Jun 2 16:08:29 UTC 2017
+pkgbase = jprofiler9
+ pkgdesc = The Award-Winning All-in-One Java Profiler (Version 9.x)
+ pkgver = 9.2.1
+ pkgrel = 1
+ url = http://jprofiler.com
+ arch = any
+ license = custom
+ depends = java-environment
+ options = !strip
+ source = http://download-keycdn.ej-technologies.com/jprofiler/jprofiler_linux_9_2_1.tar.gz
+ source = jprofiler9.desktop
+ sha256sums = f6bba9ef5391cefcd206aae93669479052081f9ee863c323eea793119039b8a6
+ sha256sums = 423b3d10bfa13e8c76ed5136c9721dabea21acef8b288660e8983d099100d850
+
+pkgname = jprofiler9
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..0a2223f3641
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.tar.gz
+*.tar.xz
+src/
+pkg/
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000000..dfc5364a639
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+
+.SRCINFO: PKGBUILD
+ mksrcinfo
+
+package: PKGBUILD .SRCINFO
+ updpkgsums
+ makepkg --syncdeps --rmdeps --force --clean --noconfirm
+
+all: package
+
+clean:
+ rm -Rv .SRCINFO *.tar.gz *.tar.xz src/ pkg/ 2> /dev/null || true
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1bff01f31b5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Phillip Schichtel <phillip.public@schich.tel>
+pkgname=jprofiler9
+pkgver="9.2.1"
+pkgrel=1
+options=(!strip)
+pkgdesc="The Award-Winning All-in-One Java Profiler (Version 9.x)"
+arch=(any)
+url="http://jprofiler.com"
+license=('custom')
+depends=('java-environment')
+source=("http://download-keycdn.ej-technologies.com/jprofiler/jprofiler_linux_$(echo $pkgver | sed 's/\./_/g').tar.gz"
+ "${pkgname}.desktop")
+sha256sums=('f6bba9ef5391cefcd206aae93669479052081f9ee863c323eea793119039b8a6'
+ '423b3d10bfa13e8c76ed5136c9721dabea21acef8b288660e8983d099100d850')
+
+package() {
+ local optdir="/opt/${pkgname}"
+ local target="${pkgdir}${optdir}"
+ local major_ver="9"
+ local extracted="${srcdir}/jprofiler${major_ver}"
+ install -dm755 "$target"
+ install -dm755 "${pkgdir}/usr/bin"
+ cp -dpr --no-preserve=ownership "${extracted}/." "$target"
+ ln -s "${optdir}/bin/jprofiler" "${pkgdir}/usr/bin/${pkgname}"
+
+ install -dm755 "${pkgdir}/etc"
+ ln -s "${optdir}/config" "${pkgdir}/etc/${pkgname}"
+
+ local hicolor="${pkgdir}/usr/share/icons/hicolor/"
+ install -dm755 "${hicolor}/64x64/apps"
+ install -dm755 "${hicolor}/32x32/apps"
+ install -dm755 "${hicolor}/16x16/apps"
+
+ local licensedir="${pkgdir}/usr/share/licenses/${pkgname}"
+ install -dm755 "$licensedir"
+ mv "${target}/license.txt" "$licensedir"
+ mv "${target}/license.html" "$licensedir"
+
+ local image_var="1nklpoz"
+
+ cp "${target}/.install4j/i4j_extf_3_${image_var}_u9lgq5@2x.png" "${hicolor}/64x64/apps/${pkgname}.png"
+ cp "${target}/.install4j/i4j_extf_3_${image_var}_u9lgq5.png" "${hicolor}/32x32/apps/${pkgname}.png"
+ cp "${target}/.install4j/i4j_extf_2_${image_var}_1u8i2ka.png" "${hicolor}/16x16/apps/${pkgname}.png"
+
+ local appsdir="${pkgdir}/usr/share/applications"
+ install -dm755 "$appsdir"
+ cp "${srcdir}/${pkgname}.desktop" "$appsdir"
+
+}
diff --git a/jprofiler9.desktop b/jprofiler9.desktop
new file mode 100644
index 00000000000..a0f0c2a5044
--- /dev/null
+++ b/jprofiler9.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=JProfiler 9
+GenericName=JProfiler 9
+Comment=Launch JProfiler 9
+Icon=jprofiler9
+Categories=Development;
+Exec=jprofiler9