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 | |
download | aur-b1e14aea432792b8a53889fbc6cca451a6f26c45.tar.gz |
Initial libreport-git pkg
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..889a5dc516fb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = libreport-git + pkgdesc = Generic library for reporting various problems + pkgver = 155127e + pkgrel = 1 + url = https://github.com/abrt/libreport + arch = i686 + arch = x86_64 + license = GPL + makedepends = intltool + makedepends = asciidoc + makedepends = python + makedepends = python2 + depends = satyr + depends = augeas + depends = libtar + depends = libffi + depends = libnewt + depends = gtk3 + depends = xmlto + depends = xmlrpc-c + depends = json-c + depends = nss + optdepends = python: python 3.x bindings + optdepends = python2: python 2.x bindings + source = git+https://github.com/abrt/libreport.git + sha256sums = SKIP + +pkgname = libreport-git + 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 +} + + |