[arch-commits] Commit in dleyna-connector-dbus/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue May 19 08:17:13 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:17:11
  Author: felixonmars
Revision: 386233

archrelease: copy trunk to staging-x86_64

Added:
  dleyna-connector-dbus/repos/staging-x86_64/
  dleyna-connector-dbus/repos/staging-x86_64/PKGBUILD
    (from rev 386232, dleyna-connector-dbus/trunk/PKGBUILD)

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

Copied: dleyna-connector-dbus/repos/staging-x86_64/PKGBUILD (from rev 386232, dleyna-connector-dbus/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:17:11 UTC (rev 386233)
@@ -0,0 +1,42 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=dleyna-connector-dbus
+pkgver=0.3.0
+pkgrel=3
+pkgdesc="Provides a D-Bus API for the dLeyna services"
+arch=(x86_64)
+url="https://01.org/dleyna"
+license=(LGPL2.1)
+depends=(dleyna-core dbus)
+makedepends=(git)
+_commit=1f0932aaacdd67700912a0c9c6e610f16f346ced  # tags/0.3.0
+source=("git+https://github.com/01org/dleyna-connector-dbus#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list