31 lines
812 B
Bash
31 lines
812 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=recode
|
|
pkgver=3.7.9
|
|
pkgrel=1
|
|
pkgdesc='Converts files between various character sets and usages'
|
|
arch=('i686' 'x86_64')
|
|
url='https://github.com/rrthomas/recode'
|
|
license=('LGPL-3')
|
|
depends=('glibc')
|
|
makedepends=('python')
|
|
source=("https://github.com/rrthomas/recode/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
|
sha512sums=('277074dee63cdc7f1a1be2acca67481b8fb816bd4319fe8e882696e42d15309750b930fa9e8d6286e714132a976f0eaf87f718560d6cb86eeaa79b86f0700a6c')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm644 COPYING-LIB -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|