# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=recode pkgver=3.7.6 pkgrel=0 pkgdesc="Character set conversion utilities" url=" " arch="all" options="!check" # Requires unpackaged `cython`. license="GPL-3.0+" depends="" makedepends="help2man cmd:lex python3" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs" source="https://github.com/rrthomas/recode/releases/download/v$pkgver/recode-$pkgver.tar.gz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ ac_cv_path_PYTHON=/usr/bin/python3 make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="ababefc445fcc47b6bf9ed640b767aed374bb8ce93cdccb641dd1ba5d298360583dd79070a0bb458f1190a8d6f1ddeb3b04eec34a61305b69def0963cec5843f recode-3.7.6.tar.gz"