diff options
Diffstat (limited to 'extra/moc')
-rw-r--r-- | extra/moc/PKGBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/moc/PKGBUILD b/extra/moc/PKGBUILD index 2b6224c7f..67dc3fded 100644 --- a/extra/moc/PKGBUILD +++ b/extra/moc/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 178318 2013-02-20 05:19:12Z eric $ +# $Id: PKGBUILD 191902 2013-08-01 06:53:35Z bpiotrowski $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=moc pkgver=2.5beta1 -pkgrel=3 +pkgrel=4 epoch=1 pkgdesc="An ncurses console audio player designed to be powerful and easy to use" arch=('i686' 'x86_64') @@ -41,9 +41,13 @@ mksource() { gpg --detach-sign --use-agent -u ${GPGKEY} ${pkgname}-${pkgver}.tar.xz } -build() { - cd "${srcdir}/${pkgname}-2.5.0-beta1" +prepare() { + cd ${pkgname}-2.5.0-beta1 patch -p0 -i "${srcdir}/moc-ffmpeg.patch" +} + +build() { + cd ${pkgname}-2.5.0-beta1 ./configure --prefix=/usr --without-rcc \ --with-oss --with-alsa --with-jack --with-aac --with-mp3 \ --with-musepack --with-vorbis --with-flac --with-wavpack \ @@ -53,6 +57,6 @@ build() { } package() { - cd "${srcdir}/${pkgname}-2.5.0-beta1" + cd ${pkgname}-2.5.0-beta1 make DESTDIR="${pkgdir}" install } |