aboutsummaryrefslogtreecommitdiffstats
path: root/testing/detenc
diff options
context:
space:
mode:
authorEd Robinson <ed.robinson@reevoo.com>2016-09-28 19:24:39 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-09-29 16:04:17 +0200
commit3ab27ac44244de0dd30c79415812fa6954d4cf3a (patch)
tree142efde2bf11c88e843df2522b6b3ae91ebd31cd /testing/detenc
parent5febf2309f19a669bf7d36757b2fdeba98075acb (diff)
downloadaports-3ab27ac44244de0dd30c79415812fa6954d4cf3a.tar.bz2
aports-3ab27ac44244de0dd30c79415812fa6954d4cf3a.tar.xz
testing/detenc: new aport
https://github.com/reevoo/detenc A lightweight, low-memory character encoding detector
Diffstat (limited to 'testing/detenc')
-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"