cruxports/recode/Pkgfile

24 lines
613 B
Plaintext
Raw Normal View History

2022-02-18 17:40:09 -05:00
# Description: converts files between various character sets and usages
2022-02-05 15:39:19 -05:00
# URL: https://github.com/rrthomas/recode
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: help2man
2022-02-05 15:39:19 -05:00
name=recode
2023-02-10 21:01:18 -05:00
version=3.7.14
2022-02-05 15:39:19 -05:00
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:
2023-01-17 06:50:28 -05:00
sed -i '/HELP2MAN/s/--locale=.*/\\/' src/Makefile
2022-02-05 15:39:19 -05:00
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/lib/*.la
rm -rf $PKG/usr/share/info
}