[arch-commits] Commit in dleyna-core/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Mon Oct 25 20:03:25 UTC 2021
Date: Monday, October 25, 2021 @ 20:03:24
Author: heftig
Revision: 426550
archrelease: copy trunk to staging-x86_64
Added:
dleyna-core/repos/staging-x86_64/
dleyna-core/repos/staging-x86_64/PKGBUILD
(from rev 426549, dleyna-core/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: dleyna-core/repos/staging-x86_64/PKGBUILD (from rev 426549, dleyna-core/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-10-25 20:03:24 UTC (rev 426550)
@@ -0,0 +1,36 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=dleyna-core
+pkgver=0.7.0
+pkgrel=3
+pkgdesc="Library of utility functions that are used by the higher level dLeyna"
+url="https://github.com/phako/dleyna-core"
+arch=(x86_64)
+license=(LGPL2.1)
+depends=(gupnp)
+makedepends=(git meson)
+_commit=6fb250b19f774a7fb908e85926ec1c3a011e81d7 # tags/v0.7.0^0
+source=("git+https://github.com/phako/dleyna-core#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+}
More information about the arch-commits
mailing list