[arch-commits] Commit in dbus-python/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 17:00:32 UTC 2021


    Date: Tuesday, November 30, 2021 @ 17:00:32
  Author: felixonmars
Revision: 429657

archrelease: copy trunk to staging-x86_64

Added:
  dbus-python/repos/staging-x86_64/
  dbus-python/repos/staging-x86_64/PKGBUILD
    (from rev 429655, dbus-python/trunk/PKGBUILD)

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

Copied: dbus-python/repos/staging-x86_64/PKGBUILD (from rev 429655, dbus-python/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-11-30 17:00:32 UTC (rev 429657)
@@ -0,0 +1,35 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=dbus-python
+pkgver=1.2.18
+pkgrel=2
+pkgdesc="Python bindings for DBUS"
+url="https://www.freedesktop.org/wiki/Software/DBusBindings"
+arch=(x86_64)
+license=('GPL' 'LGPL')
+depends=('dbus' 'glib2')
+makedepends=('python' 'autoconf-archive' 'python-sphinx_rtd_theme' 'python-sphinx')
+source=(https://dbus.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc})
+sha256sums=('92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260'
+            'SKIP')
+validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90')
+replaces=('python-dbus' 'python-dbus-common')
+conflicts=('python-dbus' 'python-dbus-common')
+provides=("python-dbus=$pkgver" "python-dbus-common=$pkgver")
+
+prepare() {
+  cd $pkgname-$pkgver
+  autoreconf -vfi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list