aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/detenc/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/detenc/APKBUILD b/testing/detenc/APKBUILD
new file mode 100644
index 0000000000..4f75d76808
--- /dev/null
+++ b/testing/detenc/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Ed Robinson <ed+alpine@reevoo.com>
+# Maintainer: Ed Robinson <ed+alpine@reevoo.com>
+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"