cmus: simplify and force a rebuild.
This commit is contained in:
parent
0f0fffe520
commit
d02ca599b3
1 changed files with 5 additions and 12 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cmus'
|
# Template file for 'cmus'
|
||||||
pkgname=cmus
|
pkgname=cmus
|
||||||
version=2.5.0
|
version=2.5.0
|
||||||
revision=4
|
revision=5
|
||||||
wrksrc="cmus-v${version}"
|
wrksrc="cmus-v${version}"
|
||||||
short_desc="Small, fast and powerful console music player"
|
short_desc="Small, fast and powerful console music player"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -10,24 +10,17 @@ homepage="http://cmus.sourceforge.net"
|
||||||
distfiles="${SOURCEFORGE_SITE}/cmus/cmus-v${version}.tar.bz2"
|
distfiles="${SOURCEFORGE_SITE}/cmus/cmus-v${version}.tar.bz2"
|
||||||
checksum=2021fab64088898d62d1439525ec345e219f58d91a9e933dc85e84eda21c8ddf
|
checksum=2021fab64088898d62d1439525ec345e219f58d91a9e933dc85e84eda21c8ddf
|
||||||
|
|
||||||
|
build_style=configure
|
||||||
|
configure_args="prefix=/usr"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="faad2-devel libflac-devel libao-devel libmad-devel
|
makedepends="ncurses-devel faad2-devel libflac-devel libao-devel libmad-devel
|
||||||
libmodplug-devel libmp4v2-devel>=2.0.0 libmpcdec-devel pulseaudio-devel
|
libmodplug-devel libmp4v2-devel>=2.0.0 libmpcdec-devel pulseaudio-devel
|
||||||
opusfile-devel wavpack-devel alsa-lib-devel libvorbis-devel ffmpeg-devel>=2.1
|
opusfile-devel wavpack-devel alsa-lib-devel libvorbis-devel ffmpeg-devel>=2.1"
|
||||||
ncurses-devel"
|
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
./configure prefix=/usr
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make GCC=$CC CC=$CC LD=$CC ${makejobs}
|
make GCC=$CC CC=$CC LD=$CC ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
|
||||||
make DESTDIR=$DESTDIR install
|
|
||||||
}
|
|
||||||
|
|
||||||
cmus-libao_package() {
|
cmus-libao_package() {
|
||||||
short_desc+=" - libao output plugin"
|
short_desc+=" - libao output plugin"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Reference in a new issue