blob: 0595ba72486ca27589da85aba804524f930b6bc4 (
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
45
46
47
48
49
50
51
|
# Maintainer: Newb I the Newbd <czbd hostedon o2 halfacolon pl>
# Contributor: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Tobias Kieslich <tobias (at) archlinux.org>
_pkgbase=thunar-archive-plugin
pkgname=(${_pkgbase}-gtk2)
pkgver=0.3.1
pkgrel=7
pkgdesc="Create and extract archives in Thunar (GTK2 version)"
arch=('x86_64')
url="http://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
license=('GPL2')
groups=('xfce4-goodies')
conflicts=("${_pkgbase}")
provides=("${_pkgbase}")
depends=('thunar' 'hicolor-icon-theme')
makedepends=('intltool' 'xfce4-dev-tools')
optdepends=('file-roller'
'ark'
'xarchiver')
source=(https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/0.3/thunar-archive-plugin-$pkgver.tar.bz2
0001-Fix-file-roller-3.12.1-detection-bug-10826.patch)
sha256sums=('9ad559b0c11308f6897ad56604e5a06dc8f369f649eb20120b2d3018ef5da54c'
'4373c3011f5abd1d4119d283e832aeb858c810f14b3a59b6250cf10893aa0757')
prepare() {
cd "$srcdir/thunar-archive-plugin-$pkgver"
# https://bugzilla.xfce.org/show_bug.cgi?id=10826
patch -Np1 -i ../0001-Fix-file-roller-3.12.1-detection-bug-10826.patch
NOCONFIGURE=1 xdt-autogen
}
build() {
cd "$srcdir/thunar-archive-plugin-$pkgver"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/xfce4 \
--localstatedir=/var \
--disable-static
make
}
package() {
cd "$srcdir/thunar-archive-plugin-$pkgver"
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
|