initial import
This commit is contained in:
27
ncmpc-legacy/PKGBUILD
Normal file
27
ncmpc-legacy/PKGBUILD
Normal file
@@ -0,0 +1,27 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
_realpkgname=ncmpc
|
||||
pkgname=$_realpkgname-legacy
|
||||
pkgver=0.47
|
||||
pkgrel=1
|
||||
pkgdesc="Fully featured MPD client which runs in a terminal (legacy version)"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://www.musicpd.org/clients/ncmpc/'
|
||||
license=('GPL-2')
|
||||
depends=('gcc-libs' 'glibc' 'pcre2' 'libmpdclient' 'ncurses')
|
||||
makedepends=('boost' 'libmpdclient' 'meson' 'ncurses' 'python-sphinx' 'intltool' 'gettext-tiny')
|
||||
optdepends=('python-requests: for lyrics script')
|
||||
source=("https://www.musicpd.org/download/${_realpkgname}/${pkgver%.*}/${_realpkgname}-${pkgver}.tar.xz")
|
||||
sha512sums=('6c9990ca9a0781eef67fae8b20ceec5fc00177b1db2b08cfdf122dd1f61f87a92030baadcaac154d73ddee622c963481d4e37d46f76a4ef21e51d4f18a6f3e6a')
|
||||
|
||||
build() {
|
||||
cd "${_realpkgname}-${pkgver}"
|
||||
hyperbola-meson -D lyrics_screen=true -D chat_screen=true -D lirc=disabled build
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${_realpkgname}-${pkgver}"
|
||||
DESTDIR="${pkgdir}" ninja -C build install
|
||||
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user