diff options
author | Anatol Pomozov | 2015-06-17 08:46:07 -0700 |
---|---|---|
committer | Anatol Pomozov | 2015-06-17 08:46:07 -0700 |
commit | 1a4683869f08b31360a2d13fbb2681b2daee12e4 (patch) | |
tree | bb204e846a63bc4664f98282fca80c0629771d20 /PKGBUILD | |
download | aur-1a4683869f08b31360a2d13fbb2681b2daee12e4.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..56c1ec6bc630 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Anatol Pomozov <anatol@google.com> +pkgname=google-coredumper +pkgver=1.2.1 +pkgrel=1 +pkgdesc='Library can be compiled into applications to create core dumps of the running program -- without terminating.' +url='https://code.google.com/p/google-coredumper/' +license=(GPL) +arch=(i686 x86_64) +# Upstream is currently broken. +# Here are fixs for upstream https://github.com/anatol/google-coredumper +source=(https://google-coredumper.googlecode.com/files/coredumper-$pkgver.tar.gz + fixes.diff) +sha1sums=('8f770458bca2d0eea878689b5ae2329d7d21d450' + '11d4cc83b2e02210d21271fda608c9a2c2ac8716') + +prepare() { + cd coredumper-$pkgver + patch -p1 < "$srcdir/fixes.diff" +} + +build() { + cd coredumper-$pkgver + ./configure --prefix=/usr + make +} + +check() { + cd coredumper-$pkgver +# The tests are broken because they expect binaries with debug symbols. Fix the tests. +# make check +} + +package() { + cd coredumper-$pkgver + make install DESTDIR="$pkgdir" +} |