[arch-commits] Commit in libmpdclient/repos/extra-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Sep 3 10:31:27 UTC 2020
Date: Thursday, September 3, 2020 @ 10:31:26
Author: dvzrv
Revision: 395167
archrelease: copy trunk to extra-x86_64
Added:
libmpdclient/repos/extra-x86_64/PKGBUILD
(from rev 395166, libmpdclient/trunk/PKGBUILD)
Deleted:
libmpdclient/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 72 +++++++++++++++++++++++++++++++++++--------------------------
1 file changed, 42 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-03 10:31:08 UTC (rev 395166)
+++ PKGBUILD 2020-09-03 10:31:26 UTC (rev 395167)
@@ -1,30 +0,0 @@
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=libmpdclient
-pkgver=2.19
-pkgrel=2
-pkgdesc='Asynchronous API library for interfacing MPD in the C, C++ & Objective C languages'
-url='https://www.musicpd.org/libs/libmpdclient/'
-license=('custom:BSD')
-arch=('x86_64')
-makedepends=('meson')
-validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512')
-source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
-sha256sums=('158aad4c2278ab08e76a3f2b0166c99b39fae00ee17231bd225c5a36e977a189'
- 'SKIP')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- arch-meson . build
- ninja -C build
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- DESTDIR="${pkgdir}" ninja -C build install
-
- cd "${pkgdir}"
- install -d usr/share/licenses/libmpdclient
- ln -s ../../doc/libmpdclient/COPYING usr/share/licenses/libmpdclient/COPYING
-}
Copied: libmpdclient/repos/extra-x86_64/PKGBUILD (from rev 395166, libmpdclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-03 10:31:26 UTC (rev 395167)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libmpdclient
+pkgver=2.19
+pkgrel=3
+pkgdesc="C library to implement a MPD client"
+url="https://www.musicpd.org/libs/libmpdclient/"
+license=('BSD')
+arch=('x86_64')
+depends=('glibc')
+makedepends=('meson')
+provides=('libmpdclient.so')
+source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha512sums=('5d67b95d4b615bc750641f6d5a0240122e8f59c66108838a96bd4bc5cdda8b15288ad03d0e35d92d6e562e67c600f68aad643ca541092121074952a1bc5b3590'
+ 'SKIP')
+b2sums=('c045c4847d43f166a3e1549654784bd994fa4156e3ecebf7c02a412b34ca150940f3c43cdc385839cd7c281bd4ed4fd1935b757d8505133d146ea955ec2d0832'
+ 'SKIP')
+validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <max at blarg.de>
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ meson --prefix /usr \
+ --libexecdir lib \
+ --sbindir bin \
+ --buildtype plain \
+ --auto-features enabled \
+ --wrap-mode nodownload \
+ -D b_lto=true \
+ -D b_pie=true \
+ build
+ ninja -C build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ DESTDIR="${pkgdir}" ninja -C build install
+ install -vdm 755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ ln -sv "/usr/share/doc/${pkgname}/COPYING" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
More information about the arch-commits
mailing list