[arch-commits] Commit in sound-theme-freedesktop/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sat Aug 1 18:32:46 UTC 2009


    Date: Saturday, August 1, 2009 @ 14:32:46
  Author: jgc
Revision: 48393

upgpkg: sound-theme-freedesktop 0.3-1
    Switch to freedesktop sources, this one includes a configure script with makefiles

Modified:
  sound-theme-freedesktop/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-08-01 18:11:15 UTC (rev 48392)
+++ PKGBUILD	2009-08-01 18:32:46 UTC (rev 48393)
@@ -2,21 +2,19 @@
 # Maintainer: Jan de Groot
 
 pkgname=sound-theme-freedesktop
-pkgver=0.2
+pkgver=0.3
 pkgrel=1
 pkgdesc="Freedesktop sound theme"
 arch=(i686 x86_64)
 license=('custom')
-source=(http://0pointer.de/public/${pkgname}.tar.gz)
+source=(http://people.freedesktop.org/~lennart/${pkgname}-${pkgver}.tar.bz2)
 url="http://freedesktop.org/wiki/Specifications/sound-theme-spec"
-md5sums=('35f978665f0854f29a17a0974e780b1b')
 
 build() {
-  cd "${srcdir}/freedesktop"
-  install -m755 -d "${pkgdir}/usr/share/sounds/freedesktop/stereo"
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr || return 1
+  make || return 1
+  make DESTDIR="${pkgdir}" install || return 1
   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  install -m644 index.theme "${pkgdir}/usr/share/sounds/freedesktop/" || return 1
-  install -m644 stereo/*.ogg "${pkgdir}/usr/share/sounds/freedesktop/stereo/" || return 1
   install -m644 README "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
 }




More information about the arch-commits mailing list