<commit_before># Maintainer: <NAME> <<EMAIL>>

pkgname=zerogw
pkgver=${VERSION}
pkgrel=1
pkgdesc="A http/zeromq gateway"
arch=('i686' 'x86_64')
url="http://github.com/tailhook/zerogw"
license=('GPL')
depends=('zeromq' 'libyaml' 'openssl' 'libev')
makedepends=('coyaml>=0.3.2' 'libwebsite>=0.2.10')
backup=("etc/zerogw.yaml")
source=(https://github.com/downloads/tailhook/zerogw/$pkgname-$pkgver.tar.bz2)
md5sums=('${DIST_MD5}')

build() {
  cd $srcdir/$pkgname-$pkgver
  LDFLAGS="$LDFLAGS -Wl,--no-as-needed" ./waf configure --prefix=/usr
  ./waf build
}
package() {
  cd $srcdir/$pkgname-$pkgver
  ./waf install --destdir=$pkgdir
}<commit_msg>Added `check` function to PKGBUILD<commit_after># Maintainer: <NAME> <<EMAIL>>

pkgname=zerogw
pkgver=${VERSION}
pkgrel=1
pkgdesc="A http/zeromq gateway"
arch=('i686' 'x86_64')
url="http://github.com/tailhook/zerogw"
license=('GPL')
depends=('zeromq' 'libyaml' 'openssl' 'libev')
makedepends=('coyaml>=0.3.2' 'libwebsite>=0.2.10')
backup=("etc/zerogw.yaml")
source=(https://github.com/downloads/tailhook/zerogw/$pkgname-$pkgver.tar.bz2)
md5sums=('${DIST_MD5}')

build() {
  cd $srcdir/$pkgname-$pkgver
  LDFLAGS="$LDFLAGS -Wl,--no-as-needed" ./waf configure --prefix=/usr
  ./waf build
}

check() {
  cd $srcdir/$pkgname-$pkgver
  ./waf test
}

package() {
  cd $srcdir/$pkgname-$pkgver
  ./waf install --destdir=$pkgdir
}
{'fraction_non_alphanumeric': 0.21595900439238652, 'fraction_numerical': 0.02635431918008785, 'mean_word_length': 5.38785046728972, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6362672', 'n_tokens_mistral': 601, 'n_tokens_neox': 577, 'n_words': 87}