mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
27 lines
888 B
Bash
27 lines
888 B
Bash
|
# $Id: PKGBUILD 35837 2009-04-17 18:22:55Z eric $
|
||
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||
|
|
||
|
pkgname=recode
|
||
|
pkgver=3.6
|
||
|
pkgrel=3
|
||
|
pkgdesc="Converts files between various character sets and usages"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.gnu.org/software/recode/recode.html"
|
||
|
license=('GPL' 'LGPL')
|
||
|
depends=('glibc' 'texinfo')
|
||
|
options=('!libtool')
|
||
|
install=recode.install
|
||
|
source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz recode-3.6-gcc43.patch)
|
||
|
md5sums=('be3f40ad2e93dae5cd5f628264bf1877' '47b62d7031d208180552174f9e223e9d')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/$pkgname-$pkgver
|
||
|
patch -p0 < ../recode-3.6-gcc43.patch || return 1
|
||
|
./configure --prefix=/usr --mandir=/usr/share/man \
|
||
|
--infodir=/usr/share/info --host=i686-pc-linux-gnu || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR=$pkgdir install || return 1
|
||
|
rm ${pkgdir}/usr/share/info/dir
|
||
|
gzip ${pkgdir}/usr/share/info/*
|
||
|
}
|