summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaizhao Zhang2018-07-12 16:54:14 +0800
committerKaizhao Zhang2018-07-12 16:54:14 +0800
commit886b5bb3319af206e1ca08ea89560b95aa031c7b (patch)
tree1ef0fd79d98f20e04f404b80665eccca5a219517
parentdea8478b1f2ce3d8fb6c0dad7a34e80a86ee1f78 (diff)
downloadaur-886b5bb3319af206e1ca08ea89560b95aa031c7b.tar.gz
Add stackcollapse programs and other useful scripts
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f94dcdb7650..4f5bbfafd5a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = flamegraph
pkgdesc = Flame Graphs visualize profiled code
pkgver = 1.0
- pkgrel = 1
+ pkgrel = 2
url = http://www.brendangregg.com/flamegraphs.html
arch = i686
arch = x86_64
license = CDDL
+ depends = awk
depends = perl
conflicts = flamegraph
conflicts = flamegraph-git
diff --git a/PKGBUILD b/PKGBUILD
index 7f1fb753ae4..68ccd4413dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=flamegraph
pkgver=1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Flame Graphs visualize profiled code"
arch=('i686' 'x86_64')
url="http://www.brendangregg.com/flamegraphs.html"
license=('CDDL')
-depends=('perl')
+depends=('awk' 'perl')
conflicts=('flamegraph' 'flamegraph-git')
source=("https://github.com/brendangregg/FlameGraph/archive/v${pkgver}.tar.gz")
@@ -17,7 +17,12 @@ package() {
_srcname=FlameGraph
cd "${srcdir}/${_srcname}-${pkgver}"
- install -Dm755 flamegraph.pl "${pkgdir}/usr/bin/flamegraph.pl"
+ for execfile in ./*.{pl,awk}; do
+ install -Dm755 "${execfile}" "${pkgdir}/usr/bin/${execfile}"
+ done
+
+ install -Dm755 jmaps "${pkgdir}/usr/bin/jmaps"
+
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 docs/cddl1.txt "${pkgdir}/usr/share/licenses/${pkgname}/cddl1.txt"
}