blob: 5d91beac892708cb58f8bd4cb3abb53576909511 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Contributor: Ed Robinson <ed+alpine@reevoo.com>
# Maintainer: Ed Robinson <ed+alpine@reevoo.com>
pkgname=detenc
pkgver=2.0.0
pkgrel=1
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="$pkgname-$pkgver.tar.gz::https://github.com/reevoo/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
make && make check
}
package() {
mkdir -p "$pkgdir"/bin
make PREFIX="$pkgdir" -C "$builddir" install
}
md5sums="e880e0b24205fc45e4c6a7e0cf3bfa70 detenc-2.0.0.tar.gz"
sha256sums="ae50401d0fb25edf781dc8324e0dfc699264c72ef31936729867754586e81f13 detenc-2.0.0.tar.gz"
sha512sums="b4c0dc71a699b2e30a345d641781bd58146be84a727e89dc9ef39da7ddb752659371ba8fc37b345c514b43f92723ef80c9bbe73c72a562a2729a1626ec3f53db detenc-2.0.0.tar.gz"
|