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

Jan Steffens heftig at archlinux.org
Thu Mar 14 11:17:42 UTC 2019


    Date: Thursday, March 14, 2019 @ 11:17:41
  Author: heftig
Revision: 347924

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  dleyna-core/repos/gnome-unstable-x86_64/
  dleyna-core/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 347923, dleyna-core/trunk/PKGBUILD)

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

Copied: dleyna-core/repos/gnome-unstable-x86_64/PKGBUILD (from rev 347923, dleyna-core/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2019-03-14 11:17:41 UTC (rev 347924)
@@ -0,0 +1,42 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=dleyna-core
+pkgver=0.6.0
+pkgrel=2
+pkgdesc="Library of utility functions that are used by the higher level dLeyna"
+arch=(x86_64)
+url="http://01.org/dleyna"
+license=(LGPL2.1)
+depends=(gupnp)
+makedepends=(git)
+_commit=32207688478b890c91eb084a84f96b40a729ab14  # tags/v0.6.0
+source=("git+https://github.com/01org/dleyna-core#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  sed -i 's/gupnp-1\.0/gupnp-1.2/g' configure.ac *.pc.in
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list