initial import
This commit is contained in:
35
libmpdclient/PKGBUILD
Normal file
35
libmpdclient/PKGBUILD
Normal file
@@ -0,0 +1,35 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=libmpdclient
|
||||
pkgver=2.19
|
||||
pkgrel=1
|
||||
pkgdesc="C library to implement a MPD client"
|
||||
url="https://www.musicpd.org/libs/libmpdclient/"
|
||||
license=('Modified-BSD')
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('glibc')
|
||||
makedepends=('meson')
|
||||
source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
||||
sha512sums=('5d67b95d4b615bc750641f6d5a0240122e8f59c66108838a96bd4bc5cdda8b15288ad03d0e35d92d6e562e67c600f68aad643ca541092121074952a1bc5b3590'
|
||||
'SKIP')
|
||||
validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <max@blarg.de>
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
meson --prefix /usr \
|
||||
--libexecdir libexec \
|
||||
--sbindir sbin \
|
||||
--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 -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
Reference in New Issue
Block a user