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

Evangelos Foutras foutrelis at archlinux.org
Sat Apr 28 21:09:39 EDT 2012


    Date: Saturday, April 28, 2012 @ 21:09:39
  Author: foutrelis
Revision: 157576

upgpkg: xfburn 0.4.3-6

libxfce4util 4.10.0 rebuild.

Modified:
  xfburn/trunk/PKGBUILD
  xfburn/trunk/xfburn.install

----------------+
 PKGBUILD       |   44 ++++++++++++++++++++++++++------------------
 xfburn.install |    4 ++--
 2 files changed, 28 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-29 01:06:37 UTC (rev 157575)
+++ PKGBUILD	2012-04-29 01:09:39 UTC (rev 157576)
@@ -4,35 +4,43 @@
 
 pkgname=xfburn
 pkgver=0.4.3
-pkgrel=5
+pkgrel=6
 arch=('i686' 'x86_64')
-pkgdesc="a simple CD/DVD burning tool based on libburnia libraries"
+pkgdesc="A simple CD/DVD burning tool based on libburnia libraries"
 url="http://goodies.xfce.org/projects/applications/xfburn"
 license=('GPL2')
 groups=('xfce4-goodies')
 install=${pkgname}.install
-depends=('libburn>=1.0.6.pl00' 'libisofs>=1.0.6' 'libxfcegui4>=4.8.1' 'exo>=0.6.0' 'gstreamer0.10-base>=0.10.26'
+depends=('libburn' 'libisofs' 'libxfcegui4' 'exo' 'gstreamer0.10-base'
          'hicolor-icon-theme' 'desktop-file-utils' 'librsvg')
 makedepends=('intltool')
-source=(http://www.xfce.org/archive/src/apps/xfburn/0.4/$pkgname-$pkgver.tar.bz2
-	fix_empty_dir_segfault.diff)
-md5sums=('147cdc2d909e751125be16103b8dc81f'
-         '82a85be2442c42ab93de95e21c6c11b0')
+source=(http://archive.xfce.org/src/apps/xfburn/0.4/$pkgname-$pkgver.tar.bz2
+        fix_empty_dir_segfault.diff)
+sha1sums=('52d33e56b7ce9774fba680f50723eaf1a7215091'
+          'e374dd4942a49b52166fa9f2aa40e9aefb3aa3ec')
 
-build() { 
-  cd ${srcdir}/$pkgname-$pkgver
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
 
   # fix https://bugs.archlinux.org/task/26121
-  patch -Np0 -i ${srcdir}/fix_empty_dir_segfault.diff
-  
-  ./configure --prefix=/usr \
-	--enable-gstreamer \
-	--enable-dbus \
-	--disable-hal
+  patch -Np0 -i "$srcdir/fix_empty_dir_segfault.diff"
+
+  # fix build issue
+  sed -i '1 i\
+    #include <glib-object.h>' \
+    xfburn/xfburn-settings.h
+
+  ./configure \
+    --prefix=/usr \
+    --enable-gstreamer \
+    --enable-dbus \
+    --disable-hal
   make
 }
 
 package() {
-  cd ${srcdir}/$pkgname-$pkgver
-  make DESTDIR=${pkgdir} install
-} 
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Modified: xfburn.install
===================================================================
--- xfburn.install	2012-04-29 01:06:37 UTC (rev 157575)
+++ xfburn.install	2012-04-29 01:09:39 UTC (rev 157576)
@@ -8,7 +8,7 @@
 }
 
 post_remove() {
-  update-desktop-database -q
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  post_install $1
 }
 
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list