# Contributor: Ed Robinson # Maintainer: Ed Robinson pkgname=detenc pkgver=2.0.0 pkgrel=0 pkgdesc="A lightweight, low-memory character encoding detector" url="https://github.com/reevoo/detenc" arch="all" license="MIT" depends="" makedepends="ruby-rake ruby-minitest" source="https://github.com/reevoo/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname" build() { cd "$builddir" make && make check } package() { mkdir -p "$pkgdir"/bin make PREFIX="$pkgdir" -C "$builddir" install } md5sums="c2bbd3a16f0cb1e1285f4a8fa31994b8 detenc-2.0.0.tar.gz" sha256sums="1c6d27424424e23254b51558729f421290b17f5d330f0c3bf0beed69b7aa40c0 detenc-2.0.0.tar.gz" sha512sums="5d653b6768dd3749273403fcde04b16b9c326d0260324ce2829bbb3f517a444991b42102e863a564c324817bc2310f5242b1652e20b2510187b9d124d6e1efcf detenc-2.0.0.tar.gz"