35 lines
883 B
Bash
35 lines
883 B
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Maintainer:
|
|
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
|
# Contributor: Filip Dvorak <fila@pruda.com>
|
|
|
|
pkgname=enca
|
|
pkgver=1.19
|
|
pkgrel=6
|
|
pkgdesc="Charset analyser and converter"
|
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
|
url="https://cihar.com/software/enca/"
|
|
license=('GPL')
|
|
depends=('recode')
|
|
options=('!docs')
|
|
source=("https://dl.cihar.com/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
|
sha256sums=('3a487eca40b41021e2e4b7a6440b97d822e6532db5464471f572ecf77295e8b8')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
./configure --prefix=/usr \
|
|
--build=${CHOST} \
|
|
--libexecdir=/usr/lib \
|
|
--mandir=/usr/share/man \
|
|
--with-librecode=/usr \
|
|
--enable-external
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|