[arch-commits] CVS update of extra/multimedia/moc (PKGBUILD moc.install)

Aaron Griffin aaron at archlinux.org
Wed Jan 30 06:55:57 UTC 2008


    Date: Wednesday, January 30, 2008 @ 01:55:57
  Author: aaron
    Path: /home/cvs-extra/extra/multimedia/moc

   Added: moc.install (1.1)
Modified: PKGBUILD (1.21 -> 1.22)

upgpkg: moc 2.4.3-2
    Add install file. Rebuild for new ffmpeg


-------------+
 PKGBUILD    |    5 +++--
 moc.install |   13 +++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)


Index: extra/multimedia/moc/PKGBUILD
diff -u extra/multimedia/moc/PKGBUILD:1.21 extra/multimedia/moc/PKGBUILD:1.22
--- extra/multimedia/moc/PKGBUILD:1.21	Mon Oct  1 13:35:44 2007
+++ extra/multimedia/moc/PKGBUILD	Wed Jan 30 01:55:57 2008
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD,v 1.21 2007/10/01 17:35:44 jgc Exp $
+# $Id: PKGBUILD,v 1.22 2008/01/30 06:55:57 aaron Exp $
 # Maintainer: Aaron Griffin <aaron at archlinux.org>
 # Contributor: dorphell <dorphell at gmx.net>
 
 pkgname=moc
 pkgver=2.4.3
-pkgrel=1.1
+pkgrel=2
 pkgdesc="An ncurses console audio player with support for the mp3, ogg, and wave formats"
 url="http://moc.daper.net/"
 arch=(i686 x86_64)
@@ -14,6 +14,7 @@
 makedepends=(speex ffmpeg taglib libmpcdec)
 source=(ftp://ftp.daper.net/pub/soft/moc/stable/${pkgname}-${pkgver}.tar.bz2)
 md5sums=('8808082848e90eeec5415baaec7e98ad')
+install=moc.install
 options=(!libtool)
 
 build() {
Index: extra/multimedia/moc/moc.install
diff -u /dev/null extra/multimedia/moc/moc.install:1.1
--- /dev/null	Wed Jan 30 01:55:57 2008
+++ extra/multimedia/moc/moc.install	Wed Jan 30 01:55:57 2008
@@ -0,0 +1,13 @@
+post_install() {
+  echo ":: moc plugins may require the following additional packages:"
+  echo ":: ffmpeg, speex, taglib, libmpcdec"
+}
+
+post_upgrade() {
+  post_install
+}
+
+op=$1
+shift
+
+$op $*




More information about the arch-commits mailing list