1 # Maintainer: Ivan c00kiemon5ter Kanakarakis <ivan.kanak@gmail.com>
2 # Contributor: Chris Baker <baker.chris.3@gmail.com>
6 pkgdesc="Tool used by the TREC community for evaluating an ad hoc retrieval run"
8 url="http://trec.nist.gov/"
10 source=("http://trec.nist.gov/${pkgname}/${pkgname}_latest.tar.gz")
11 sha256sums=('1e6d197293af63b22b52f747d4c7db87227d4ef9cb0d0982d17dac802713b73e')
14 sed -n '2,5p' "$srcdir/$pkgname.$pkgver/${pkgname}.h" > "$srcdir/$pkgname.$pkgver/LICENSE"
15 cd "$srcdir/$pkgname.$pkgver"
20 install -D -m755 "$srcdir/$pkgname.$pkgver/$pkgname" "$pkgdir/usr/bin/$pkgname" || return 1
21 install -D -m644 "$srcdir/$pkgname.$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname" || return 1