blob: 0c1a8e7f8c42671ba6d5a33db911282e155df5cc (
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
|
# Maintainer: Akira Wakana <jalen.cn@gmail.com>
pkgname=file-roller-ja
pkgver=3.22.2
pkgrel=3
provides=('file-roller')
conflicts=('file-roller')
pkgdesc="the file-roller with an additional patch to use unzip-iconv for unzip archive file cp932 charset."
_pkgname=file-roller
arch=('i686' 'x86_64')
license=('GPL')
depends=('desktop-file-utils' 'gtk3' 'dconf' 'libarchive' 'file' 'json-glib' 'libnotify' 'zip' 'unzip-iconv')
makedepends=('intltool' 'pkg-config' 'libnautilus-extension' 'itstool' 'docbook-xsl')
optdepends=('p7zip: 7z, arj, exe and encrypted zip files support'
'unrar: better RAR archive support'
'unace: ACE archive support'
'lrzip: lrzip archive support'
'cdrkit: ISO image support')
groups=('gnome-extra')
options=('!emptydirs')
url="http://www.gnome.org"
source=("http://ftp.gnome.org/pub/gnome/sources/$_pkgname/${pkgver:0:4}/$_pkgname-$pkgver.tar.xz"
'fc-init.patch'
'Z99-zip-cp932.sh')
sha256sums=('27158cdcc366f82100312b1e0a02ad1f3aa7a6c32d4eba68fc5a2a8829685df9'
'8c027d4160b26a93f17ff4bf749d00c74812dd34bbe6f65cdd1815835a25d9e8'
'47d0e369be6f8df7fbdc56b794eccccf877fe3d8a6dfcc4fccb00649f77b54bc')
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
patch src/fr-init.c < ../../fc-init.patch
}
build() {
cd $_pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/$_pkgname --disable-static --disable-schemas-compile
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd $_pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 ../../Z99-zip-cp932.sh "${pkgdir}/etc/profile.d/Z99-zip-cp932.sh"
}
|