[arch-commits] Commit in smplayer/trunk (ChangeLog PKGBUILD smplayer.install)

Eric Belanger eric at archlinux.org
Fri May 23 22:03:38 EDT 2008


    Date: Friday, May 23, 2008 @ 22:03:37
  Author: eric
Revision: 1948

upgpkg: smplayer 0.6.0-1
    upstream update, updated .install file

Modified:
  smplayer/trunk/ChangeLog
  smplayer/trunk/PKGBUILD
  smplayer/trunk/smplayer.install

------------------+
 ChangeLog        |    6 ++++++
 PKGBUILD         |   16 ++++++++--------
 smplayer.install |   10 ++++------
 3 files changed, 18 insertions(+), 14 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog	2008-05-24 01:11:39 UTC (rev 1947)
+++ ChangeLog	2008-05-24 02:03:37 UTC (rev 1948)
@@ -1,3 +1,9 @@
+2008-05-23  Eric Belanger  <eric at archlinux.org>
+
+	* smplayer 0.6.0-1
+	* Upstream update
+	* Updated .install file
+
 2008-01-32  Varun Acharya <varun at archlinux.org>
 	
 	* smplayer-0.5.62-1 moved to extra, thanks molok

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-05-24 01:11:39 UTC (rev 1947)
+++ PKGBUILD	2008-05-24 02:03:37 UTC (rev 1948)
@@ -4,7 +4,7 @@
 # Contributor: shamrok <szamrok at gmail.com>
  
 pkgname=smplayer
-pkgver=0.6.0rc1
+pkgver=0.6.0
 pkgrel=1
 pkgdesc="A complete front-end for MPlayer" 
 arch=('i686' 'x86_64')
@@ -14,18 +14,18 @@
 conflicts=('smplayer-qt4')
 replaces=('smplayer-qt4')
 provides=('smplayer-qt4')
-source=(http://downloads.sourceforge.net/sourceforge/smplayer/$pkgname-$pkgver.tar.bz2) 
-install=(smplayer.install)
-md5sums=('f93f6a6840aed0d070c30d1931a62904')
+install=smplayer.install
+source=(http://downloads.sourceforge.net/sourceforge/smplayer/${pkgname}-${pkgver}final.tar.bz2)
+md5sums=('056ef492305afdfc105874529204358f')
 
 build() { 
-     cd $startdir/src/$pkgname-$pkgver
+     cd ${startdir}/src/${pkgname}-${pkgver}final
 
      make PREFIX=/usr || return 1 
-     make PREFIX=$startdir/pkg/usr install     
+     make PREFIX=${startdir}/pkg/usr install     
 
-     mkdir -p $startdir/pkg/usr/share/pixmaps
+     mkdir -p ${startdir}/pkg/usr/share/pixmaps
      ln -s /usr/share/icons/hicolor/64x64/apps/smplayer.png \
-            $startdir/pkg/usr/share/pixmaps/
+            ${startdir}/pkg/usr/share/pixmaps/
 }
 

Modified: smplayer.install
===================================================================
--- smplayer.install	2008-05-24 01:11:39 UTC (rev 1947)
+++ smplayer.install	2008-05-24 02:03:37 UTC (rev 1948)
@@ -1,5 +1,7 @@
-# arg 1:  the new package version
-# arg 2:  the old package version
+post_install() {
+  post_upgrade $1
+}
+
 post_upgrade() {
 cat << EOM 
 
@@ -9,7 +11,3 @@
 EOM
 
 }
-
-op=$1
-shift
-$op $*





More information about the arch-commits mailing list