blob: d641e0a9b68d82d062c2940d173329b0718df0ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=thunar-media-tags-plugin
pkgver=0.2.1
pkgrel=1
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 taglib-dev"
install=""
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/thunar-plugins/thunar-media-tags-plugin/${pkgver%.*}/thunar-media-tags-plugin-$pkgver.tar.bz2"
_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
}
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
}
md5sums="0106e900714f86ccbafdc72238d3cf8d thunar-media-tags-plugin-0.2.1.tar.bz2"
sha256sums="056d012a10403ee3e2e55b6ff2faecb796821de9ebee000315589b95d95ed253 thunar-media-tags-plugin-0.2.1.tar.bz2"
sha512sums="008ba9cf5405fba2582d072c48c915ad0afe2eb6bd193a710caf5f99247285362747265fa93fe28d9cedd75285a8f9593baf675310b5dbada948aefe359e951d thunar-media-tags-plugin-0.2.1.tar.bz2"
|