Added json2bencode package
Getty Ritter
8 years ago
1 | pkgname=json2bencode | |
2 | version=0.0.1 | |
3 | revision=1 | |
4 | build_style=haskell-stack | |
5 | nocross=yes | |
6 | nopie=yes | |
7 | create_wrksrc=yes | |
8 | hostmakedepends="ghc stack git" | |
9 | short_desc="Small utility for converting JSON to Bencode" | |
10 | maintainer="Getty Ritter <gettyritter@gmail.com>" | |
11 | license="BSD-3" | |
12 | homepage="http://github.com/aisamanra/GRUtils" | |
13 | ||
14 | do_fetch() { | |
15 | mkdir -p ${wrksrc} | |
16 | TMPDIR="$(mktemp -d)" | |
17 | git clone https://github.com/aisamanra/whatchamacallit.git ${TMPDIR} | |
18 | cp -r ${TMPDIR}/json2bencode/* ${wrksrc}/. | |
19 | rm -rf ${TMPDIR} | |
20 | } |