blob: c1bf9ad96a176900e8dfd79e0a428ea9a00c696d (
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
|
# $Id: PKGBUILD 151219 2012-02-25 08:35:55Z pierre $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=recode
pkgver=3.6
pkgrel=7
pkgdesc="Converts files between various character sets and usages"
arch=('i686' 'x86_64')
url="http://recode.progiciels-bpi.ca/index.html"
license=('GPL' 'LGPL')
depends=('glibc' 'texinfo')
options=('!libtool')
install=recode.install
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/pinard/${pkgname}/tarball/v${pkgver}"
'http://ftp.de.debian.org/debian/pool/main/r/recode/recode_3.6-17.diff.gz'
'recode-3.6-as-if.patch' 'recode-3.6-gettextfix.diff' 'recode_automake.patch')
build() {
cd ${srcdir}/pinard-Recode-2127b34
patch -Np1 -i ${srcdir}/recode-3.6-as-if.patch
patch -Np1 -i ${srcdir}/recode-3.6-gettextfix.diff
patch -Np1 -i ${srcdir}/recode_3.6-17.diff
patch -Np1 -i ${srcdir}/recode_automake.patch
sed -i '1i#include <stdlib.h>' src/argmatch.c
rm -f acinclude.m4
autoreconf -fi
libtoolize
./configure --prefix=/usr --mandir=/usr/share/man \
--infodir=/usr/share/info --without-included-gettext
make
}
package() {
cd ${srcdir}/pinard-Recode-2127b34
make DESTDIR=${pkgdir} install
rm ${pkgdir}/usr/share/info/dir
gzip ${pkgdir}/usr/share/info/*
}
md5sums=('f82e9a6ede9119268c13493c9add2809'
'3716ae269074e31add3d29387ff09438'
'fca7484ba332c8ad59eb02334883cd92'
'eb602e80a24b5448604bfebeacc55304'
'ad550ad030ebbbd29b29d794e19f6ca8')
|