# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=thunar-media-tags-plugin pkgver=0.1.2 pkgrel=0 pkgdesc="Media Tags plugin for the Thunar file manager" url="http://goodies.xfce.org/projects/thunar-plugins/thunar-media-tags-plugin" arch="all" license="GPLv2+" depends="" makedepends="thunar-dev xfce4-dev-tools taglib-dev" install="" subpackages="$pkgname-lang" source="http://goodies.xfce.org/releases/thunar-media-tags-plugin/thunar-media-tags-plugin-$pkgver.tar.bz2 01_port-to-thunarx-2.patch 02_port-to-exo-1.patch 03_fix-crash-with-ogg-video-files.patch 04_fix-implicit-dso-linking.patch" _builddir="$srcdir"/thunar-media-tags-plugin-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done xdt-autogen } build() { cd "$_builddir" ./configure --prefix=/usr \ --libexecdir=/usr/lib/xfce4 \ --disable-static \ --sysconfdir=/etc \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/thunarx-2/*.la } md5sums="8a95f0ea4df6f757c1c94eb5442d2ff5 thunar-media-tags-plugin-0.1.2.tar.bz2 479843c634c516afb405ebdd72f37203 01_port-to-thunarx-2.patch 5af37349b7d6d1b0180e49c1d86f9d8f 02_port-to-exo-1.patch d83ec2e224db216f90e9035b442e1e73 03_fix-crash-with-ogg-video-files.patch b6956747e247de938bc0970ba78cd8bf 04_fix-implicit-dso-linking.patch"