24 lines
613 B
Plaintext
24 lines
613 B
Plaintext
# Description: converts files between various character sets and usages
|
|
# URL: https://github.com/rrthomas/recode
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: help2man
|
|
|
|
name=recode
|
|
version=3.7.14
|
|
release=1
|
|
source=(https://github.com/rrthomas/recode/releases/download/v${version}/${name}-${version}.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-nls
|
|
# contrib/help2man is built without locale support, so we do:
|
|
sed -i '/HELP2MAN/s/--locale=.*/\\/' src/Makefile
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/lib/*.la
|
|
rm -rf $PKG/usr/share/info
|
|
}
|