diff options
author | Ernesto Castellotti | 2018-03-03 15:09:57 +0100 |
---|---|---|
committer | Ernesto Castellotti | 2018-03-03 15:09:57 +0100 |
commit | b1e14aea432792b8a53889fbc6cca451a6f26c45 (patch) | |
tree | 9b08e56a6efc494b2841ea5fcec01d322412df89 /PKGBUILD | |
download | aur-b1e14aea432792b8a53889fbc6cca451a6f26c45.tar.gz |
Initial libreport-git pkg
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a0c24b885ad0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Ernesto Castellotti <erny.castell@gmail.com> + +_pkgname=libreport +pkgname=$_pkgname-git +pkgver=155127e +pkgrel=1 +pkgdesc='Generic library for reporting various problems' +arch=('i686' 'x86_64') +depends=('satyr' 'augeas' 'libtar' 'libffi' 'libnewt' 'gtk3' 'xmlto' 'xmlrpc-c' 'json-c' 'nss') +makedepends=('intltool' 'asciidoc' 'python' 'python2') +optdepends=('python: python 3.x bindings' + 'python2: python 2.x bindings') +url='https://github.com/abrt/libreport' +license=('GPL') +source=("git+https://github.com/abrt/libreport.git") +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${_pkgname}" + + ./autogen.sh + sed -i 's/PYTHON2_LIBS/PYTHON_LIBS/' src/report-python/Makefile.am + sed -i 's/python-config/python2-config/' configure + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${_pkgname}" + make DESTDIR="${pkgdir}/" install +} + + |