upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / pianobar / trunk / PKGBUILD
blob228326e9dbbb24d7ac510def1b503963961ca126
1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
2 # Contributor: Daniel Wallace < danielwallace at gtmanfred dot com>
3 # Contributor: Mitch Bigelow <ipha00@gmail.com>
4 # Contributor: Patrick Palka <patrick@parcs.ath.cx>
6 pkgname=pianobar
7 pkgver=2022.04.01
8 pkgrel=2
9 pkgdesc="Console-based frontend for Pandora"
10 arch=('x86_64')
11 url="https://6xq.net/pianobar/"
12 license=('MIT')
13 depends=('libao' 'ffmpeg' 'curl' 'json-c')
14 source=(https://6xq.net/pianobar/$pkgname-$pkgver.tar.bz2{,.asc})
15 validpgpkeys=('017D74E27F5856963801781DF663943E08D8092A') # Lars-Dominik Braun <lars@6xq.net>
16 sha256sums=('1670b28865a8b82a57bb6dfea7f16e2fa4145d2f354910bb17380b32c9b94763'
17             'SKIP')
19 build() {
20   make -C ${pkgname}-${pkgver}
23 package() {
24   make -C ${pkgname}-${pkgver} DESTDIR="${pkgdir}" PREFIX=/usr install
25   install -Dm644 $pkgname-"${pkgver}"/COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
26   install -Dm755 $pkgname-"${pkgver}"/contrib/headless_pianobar "${pkgdir}"/usr/bin/pianoctl