mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/cmus to 2.9.1-1
This commit is contained in:
parent
d20982069d
commit
73c087391c
1 changed files with 10 additions and 9 deletions
|
@ -1,19 +1,20 @@
|
|||
# Maintainer: Xyne <ca dot archlinux at xyne, backwards>
|
||||
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
|
||||
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
|
||||
# Contributor: Aaron Griffin <aaron@archlinux.org>
|
||||
# Contributor: dorphell <dorphell@archlinux.org>
|
||||
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - patch from debian, export LDLIBS to explicitly link v5/v6 with libatomic
|
||||
|
||||
pkgname=cmus
|
||||
pkgver=2.8.0
|
||||
pkgrel=5
|
||||
pkgver=2.9.1
|
||||
pkgrel=1
|
||||
pkgdesc='Feature-rich ncurses-based music player'
|
||||
arch=('x86_64')
|
||||
url="https://cmus.github.io/"
|
||||
url='https://cmus.github.io/'
|
||||
license=('GPL')
|
||||
depends=('ncurses' 'libdiscid')
|
||||
depends=('libdiscid' 'ncurses')
|
||||
makedepends=(
|
||||
'faad2'
|
||||
'ffmpeg'
|
||||
|
@ -49,25 +50,25 @@ optdepends=('alsa-lib: for ALSA output plugin support'
|
|||
'wavpack: for wavpack input plugin support')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/cmus/cmus/archive/v${pkgver}.tar.gz"
|
||||
'13-atomic_ld.patch')
|
||||
sha256sums=('756ce2c6241b2104dc19097488225de559ac1802a175be0233cfb6fbc02f3bd2'
|
||||
sha256sums=('6fb799cae60db9324f03922bbb2e322107fd386ab429c0271996985294e2ef44'
|
||||
'8526dc4649a90513b66ed46cf675e2bc5d0d553f0e3eb438f2dcd317858c64e3')
|
||||
|
||||
prepare() {
|
||||
if [[ $CARCH == "arm" || $CARCH == "armv6h" ]]; then
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
cd "$pkgname-$pkgver"
|
||||
patch -p1 -i ../13-atomic_ld.patch
|
||||
export LDLIBS="-latomic"
|
||||
fi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
cd "$pkgname-$pkgver"
|
||||
./configure prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
cd "$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 contrib/_cmus "$pkgdir"/usr/share/zsh/site-functions/_cmus
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue