[arch-commits] Commit in openipmi/repos (2 files)

Jelle van der Waa jelle at gemini.archlinux.org
Fri Dec 3 15:27:32 UTC 2021


    Date: Friday, December 3, 2021 @ 15:27:31
  Author: jelle
Revision: 1064818

archrelease: copy trunk to community-staging-x86_64

Added:
  openipmi/repos/community-staging-x86_64/
  openipmi/repos/community-staging-x86_64/PKGBUILD
    (from rev 1064817, openipmi/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: openipmi/repos/community-staging-x86_64/PKGBUILD (from rev 1064817, openipmi/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-12-03 15:27:31 UTC (rev 1064818)
@@ -0,0 +1,42 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Miguel Revilla <yo at miguelrevilla.com>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: goodmen <goodmenzy at gmail.com>
+
+pkgname=openipmi
+_pkgname=OpenIPMI
+pkgver=2.0.31
+pkgrel=2
+pkgdesc='Full-function IPMI (Intelligent Platform Management Interface) system'
+url='http://openipmi.sourceforge.net/'
+arch=('x86_64')
+license=('LGPL2.1')
+makedepends=('python' 'swig')
+depends=('popt' 'ncurses' 'net-snmp' 'glib2' 'gdbm' 'libedit')
+optdepends=('python: bindings')
+source=("https://downloads.sourceforge.net/project/${pkgname}/${_pkgname}%202.0%20Library/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('de1b364315e97daffb4c601bcf3bf33591795449d71690496ae368bd0730a117c1716508ecaddef5d55498f56e73481a32f509791185e80e2475667d7abd73e7')
+
+prepare() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	sed \
+		-e '/Requires:/s/pthread//' \
+		-e '/Libs:/s/$/ -lpthread/' \
+		-i OpenIPMIpthread.pc.in
+}
+
+build() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	PYTHONWARNINGS=ignore ./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install-exec
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 doc/IPMI.pdf "${pkgdir}/usr/share/doc/${pkgname}/IPMI.pdf"
+}



More information about the arch-commits mailing list