summaryrefslogtreecommitdiff
path: root/extra/xfburn
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xfburn')
-rwxr-xr-xextra/xfburn/PKGBUILD46
-rw-r--r--extra/xfburn/xfburn.install4
2 files changed, 29 insertions, 21 deletions
diff --git a/extra/xfburn/PKGBUILD b/extra/xfburn/PKGBUILD
index 7ff0c7cf1..ec80b00ac 100755
--- a/extra/xfburn/PKGBUILD
+++ b/extra/xfburn/PKGBUILD
@@ -1,38 +1,46 @@
-# $Id: PKGBUILD 141077 2011-10-23 09:32:55Z andyrtr $
+# $Id: PKGBUILD 157835 2012-04-30 04:19:58Z foutrelis $
# Maintainer: Tobias Kieslich <tobias funnychar archlinux.org>
# Contributor: Alois Nespor alois.nespor@gmail.com
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:
diff --git a/extra/xfburn/xfburn.install b/extra/xfburn/xfburn.install
index 28fdb48fb..9bbbab888 100644
--- a/extra/xfburn/xfburn.install
+++ b/extra/xfburn/xfburn.install
@@ -8,7 +8,7 @@ post_upgrade() {
}
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: