summaryrefslogblamecommitdiff
path: root/user/recode/APKBUILD
blob: 743b3418482bd11df70c55f6a703bd4c31139dea (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                  
            






                                                 
                                   



                                                                                            











                                                  



                  


                                      
                                                                                                                                                                  
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=recode
pkgver=3.7.7
pkgrel=0
pkgdesc="Character set conversion utilities"
url=" "
arch="all"
options="!check"  # Requires unpackaged `cython`.
license="GPL-3.0+"
depends=""
makedepends="help2man flex 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="2d07f86992ddc449d6895510cfc4b0abfc6f5052804a13eab91fa1b103352c2a801e0cc5113cfe519db53c0e328b7f2b9bc666fdbfd8e9ac6748aced7809179a  recode-3.7.7.tar.gz"