blob: 111ca02976ecb0c0fa66b8623a2f7dba1fb244a0 (
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
|
pkgname=file-roller2-nn
pkgver=2.32.2
pkgrel=6
provides=('file-roller')
conflicts=('file-roller' 'nautilus')
pkgdesc="Archive manipulator for GNOME without nautilus dependency. (no nautilus)"
arch=('i686' 'x86_64')
license=('GPL')
depends=('desktop-file-utils' 'gconf>=2.32.0' 'hicolor-icon-theme' 'dconf')
makedepends=('gnome-doc-utils' 'intltool')
optdepends=('unrar: the RAR uncompression program'
'zip: creates PKZIP-compatible .zip files'
'unzip: unpacks .zip archives'
'p7zip: 7zip compression utility'
'xz: managing LZMA and XZ compressed files'
'arj: ARJ archiver'
'unace: extraction tool for the proprietary ace archive format')
options=('!libtool' '!emptydirs')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/file-roller/${pkgver%.*}/file-roller-${pkgver}.tar.bz2
org.gnome.nautilus.gschema.xml.in)
build() {
cd "${srcdir}/file-roller-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/file-roller \
--localstatedir=/var --disable-static \
--disable-scrollkeeper \
--disable-nautilus-actions
# Configure file-roller without nautilus-actions
make
}
package() {
cd "${srcdir}/file-roller-${pkgver}"
make DESTDIR="${pkgdir}" install
# Hack to run file-roller without nautilus
sed -i 's/_summary/summary/g;s/_description/description/g;' ${srcdir}/org.gnome.nautilus.gschema.xml.in
install -Dm755 ${srcdir}/org.gnome.nautilus.gschema.xml.in ${pkgdir}/usr/share/glib-2.0/schemas/org.gnome.nautilus.gschema.xml
}
md5sums=('2ec596e237c2f3af1d7d3f5b9c12884f'
'8d419450010031aa29a07505d83bab78')
|