diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/sysprof | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/sysprof')
-rw-r--r-- | community/sysprof/PKGBUILD | 28 | ||||
-rw-r--r-- | community/sysprof/sysprof.install | 12 |
2 files changed, 40 insertions, 0 deletions
diff --git a/community/sysprof/PKGBUILD b/community/sysprof/PKGBUILD new file mode 100644 index 000000000..9b0e55fb0 --- /dev/null +++ b/community/sysprof/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 79392 2012-11-04 01:05:10Z ebelanger $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org> +# Previous Contributor: Eric Belanger <belanger@astro.umontreal.ca> +# Previous Contributor: aeolist <aeolist@hotmail.com> + +pkgname=sysprof +pkgver=1.2.0 +pkgrel=1 +pkgdesc="A sampling CPU profiler that uses a Linux kernel module to profile the entire system" +arch=('i686' 'x86_64') +url="http://www.daimi.au.dk/~sandmann/sysprof/" +license=("GPL") +source=(http://www.daimi.au.dk/~sandmann/$pkgname/$pkgname-$pkgver.tar.gz) +depends=('libglade' 'binutils') +makedepends=('libglade' 'binutils' 'linux-headers') +md5sums=('a81808d847732f8dafb59d26ec2eebbf') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community/sysprof/sysprof.install b/community/sysprof/sysprof.install new file mode 100644 index 000000000..489df2262 --- /dev/null +++ b/community/sysprof/sysprof.install @@ -0,0 +1,12 @@ +post_install() { + depmod -a +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + |