[arch-commits] CVS update of extra/multimedia/apolos (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Apr 22 13:59:06 EDT 2007


    Date: Sunday, April 22, 2007 @ 13:59:06
  Author: jgc
    Path: /home/cvs-extra/extra/multimedia/apolos

Modified: PKGBUILD (1.6 -> 1.7)

upgpkg: apolos 0.1.9rc1-3


----------+
 PKGBUILD |   21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)


Index: extra/multimedia/apolos/PKGBUILD
diff -u extra/multimedia/apolos/PKGBUILD:1.6 extra/multimedia/apolos/PKGBUILD:1.7
--- extra/multimedia/apolos/PKGBUILD:1.6	Wed Nov 30 14:45:05 2005
+++ extra/multimedia/apolos/PKGBUILD	Sun Apr 22 13:59:06 2007
@@ -1,23 +1,26 @@
-# $Id: PKGBUILD,v 1.6 2005/11/30 19:45:05 damir Exp $
+# $Id: PKGBUILD,v 1.7 2007/04/22 17:59:06 jgc Exp $
 # Maintainer: damir <damir at archlinux.org>
 # Contributor: Sebastian Sariego B. <seba at craftlink.org>
 
 pkgname=apolos
 pkgver=0.1.9rc1
 origver=0.1.9-rc1
-pkgrel=2
+pkgrel=3
+arch=(i686)
+license=('GPL')
 pkgdesc="Small CD Player for GNU/Linux"
 url="http://www.nongnu.org/apolos/"
-depends=('gtk2' 'cdparanoia')
-source=(http://savannah.nongnu.org/download/apolos/$pkgname-$origver.tar.bz2)
+depends=('gtk2>=2.10.11' 'cdparanoia' 'libvorbis')
+source=(http://savannah.nongnu.org/download/apolos/${pkgname}-$origver.tar.bz2)
+md5sums=('220b5bff017ba5bb78b123d01e58750a')
 
 build() {
-  cd $startdir/src/$pkgname-$origver
-  echo "# /bin/sh" > mkinstalldirs
+  cd ${startdir}/src/${pkgname}-$origver
+  echo "#/bin/sh" > mkinstalldirs
   echo "mkdir -p \$1" >> mkinstalldirs
   chmod a+rwx mkinstalldirs
-  ./configure --prefix=/opt/gnome
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
   make || return 1
-  make prefix=$startdir/pkg/opt/gnome install
-  sed -i "s|Type=Aplication|Type=Application|g" $startdir/pkg/opt/gnome/share/applications/apolos.desktop
+  make DESTDIR=${startdir}/pkg install
+  sed -i 's|Type=Aplication|Type=Application|g' ${startdir}/pkg/usr/share/applications/apolos.desktop
 }




More information about the arch-commits mailing list