summaryrefslogtreecommitdiff
path: root/extra/moc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/moc/PKGBUILD')
-rw-r--r--extra/moc/PKGBUILD35
1 files changed, 14 insertions, 21 deletions
diff --git a/extra/moc/PKGBUILD b/extra/moc/PKGBUILD
index 5f5fe7725..059249cb8 100644
--- a/extra/moc/PKGBUILD
+++ b/extra/moc/PKGBUILD
@@ -1,28 +1,26 @@
-# $Id: PKGBUILD 198322 2013-10-30 14:09:45Z allan $
+# $Id: PKGBUILD 205535 2014-02-06 19:58:31Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=moc
-pkgver=2.5beta1
-pkgrel=5
+pkgver=2.5.0beta2
+pkgrel=1
epoch=1
pkgdesc="An ncurses console audio player designed to be powerful and easy to use"
arch=('i686' 'x86_64')
url="http://moc.daper.net/"
license=('GPL')
-depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file' 'popt')
+depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file')
makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug' 'faad2')
-optdepends=('speex: for using the speex plugin'
+optdepends=('speex: for using the speex plugin'
'ffmpeg: for using the ffmpeg plugin'
- 'taglib: for using the musepack plugin'
- 'libmpcdec: for using the musepack plugin'
- 'wavpack: for using the wavpack plugin'
- 'faad2: for using the aac plugin'
+ 'taglib: for using the musepack plugin'
+ 'libmpcdec: for using the musepack plugin'
+ 'wavpack: for using the wavpack plugin'
+ 'faad2: for using the aac plugin'
'libmodplug: for using the modplug plugin')
-source=(ftp://ftp.daper.net/pub/soft/moc/unstable/moc-2.5.0-beta1.tar.bz2{,.sig} \
- moc-ffmpeg.patch)
-sha1sums=('4030a1fa5c7cfef06909c54d8c7a1fbb93f23caa'
- '29c232c37e1f3737c3b670372732446e9c0786a8'
- 'f3b8b327dd27d50422b1ad8c9ef89a7366529307')
+source=(http://ftp.daper.net/pub/soft/moc/unstable/moc-${pkgver%b*}-${pkgver#*.*.?}.tar.bz2{,.sig})
+sha1sums=('bf786d719c853c22dec74bc2ee565aae4596fbe7'
+ 'SKIP')
# source PKGBUILD && mksource
mksource() {
@@ -40,13 +38,8 @@ mksource() {
gpg --detach-sign --use-agent -u ${GPGKEY} ${pkgname}-${pkgver}.tar.xz
}
-prepare() {
- cd ${pkgname}-2.5.0-beta1
- patch -p0 -i "${srcdir}/moc-ffmpeg.patch"
-}
-
build() {
- cd ${pkgname}-2.5.0-beta1
+ cd ${pkgname}-${pkgver%b*}-${pkgver#*.*.?}
./configure --prefix=/usr --without-rcc \
--with-oss --with-alsa --with-jack --with-aac --with-mp3 \
--with-musepack --with-vorbis --with-flac --with-wavpack \
@@ -56,6 +49,6 @@ build() {
}
package() {
- cd ${pkgname}-2.5.0-beta1
+ cd ${pkgname}-${pkgver%b*}-${pkgver#*.*.?}
make DESTDIR="${pkgdir}" install
}