diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/recode/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/recode/PKGBUILD')
-rw-r--r-- | extra/recode/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/extra/recode/PKGBUILD b/extra/recode/PKGBUILD new file mode 100644 index 000000000..f95e08fde --- /dev/null +++ b/extra/recode/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 103548 2010-12-21 11:02:32Z andrea $ +# Maintainer: Kevin Piche <kevin@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=recode +pkgver=3.6 +pkgrel=6 +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-15.diff.gz + recode-3.6-as-if.patch recode-3.6-gettextfix.diff) +md5sums=('f82e9a6ede9119268c13493c9add2809' + '95ca772e367a7ef56d3f46d724b6f86e' + '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 + 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/* +} |