summaryrefslogtreecommitdiff
path: root/extra/recode/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-28 01:15:28 -0700
committerroot <root@rshg054.dnsready.net>2013-10-28 01:15:28 -0700
commit1a32448c2c53b0e66ce0fe14c5dd2057afd432bc (patch)
treed94819e60d05fada511b43feec6f7e46386a215a /extra/recode/PKGBUILD
parent2886140ddb1db32f36cb0b27e93888442a603a53 (diff)
Mon Oct 28 01:14:27 PDT 2013
Diffstat (limited to 'extra/recode/PKGBUILD')
-rw-r--r--extra/recode/PKGBUILD34
1 files changed, 18 insertions, 16 deletions
diff --git a/extra/recode/PKGBUILD b/extra/recode/PKGBUILD
index ffa636c60..87d149f89 100644
--- a/extra/recode/PKGBUILD
+++ b/extra/recode/PKGBUILD
@@ -1,31 +1,36 @@
-# $Id: PKGBUILD 151219 2012-02-25 08:35:55Z pierre $
+# $Id: PKGBUILD 197569 2013-10-27 00:17:34Z eric $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=recode
pkgver=3.6
-pkgrel=7
+pkgrel=8
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')
+depends=('glibc')
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-15.diff.gz'
+ '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')
md5sums=('f82e9a6ede9119268c13493c9add2809'
- '95ca772e367a7ef56d3f46d724b6f86e'
+ '3716ae269074e31add3d29387ff09438'
'fca7484ba332c8ad59eb02334883cd92'
'eb602e80a24b5448604bfebeacc55304')
-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-15.diff
+prepare() {
+ cd 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"
sed -i '1i#include <stdlib.h>' src/argmatch.c
+ sed -i -e '/^AM_C_PROTOTYPES/d' -e '/^AUTOMAKE_OPTIONS.*ansi2knr/d' \
+ configure.in src/Makefile.am
+}
+
+build() {
+ cd pinard-Recode-2127b34
rm -f acinclude.m4
autoreconf -fi
libtoolize
@@ -35,9 +40,6 @@ build() {
}
package() {
- cd ${srcdir}/pinard-Recode-2127b34
- make DESTDIR=${pkgdir} install
-
- rm ${pkgdir}/usr/share/info/dir
- gzip ${pkgdir}/usr/share/info/*
+ cd pinard-Recode-2127b34
+ make DESTDIR="${pkgdir}" install
}