1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: Leah (ctucx) <leah@ctu.cx>
# Maintainer: Leah (ctucx) <leah@ctu.cx>
pkgname=oeffisearch
pkgver=0.0.1
pkgrel=17
pkgdesc="fast and simple tripplanner for the web"
url="https://cgit.ctu.cx/fritzbox-exporter"
arch="all"
license="MIT"
depends="openssl"
makedepends="nim nimble"
install="$pkgname.pre-install"
subpackages="${pkgname}-openrc"
_commit="92cc53bb3a14b09ac9242e46bf138e3a1e6a72a7"
source="${pkgname}-${_commit}.tar.gz::https://cgit.ctu.cx/oeffisearch/snapshot/oeffisearch-${_commit}.tar.gz
${pkgname}.initd"
builddir="${srcdir}/${pkgname}-${_commit}/"
build() {
cd ${builddir}
nimble build
}
check() {
:
}
package() {
install -Dm755 ${builddir}/oeffisearch $pkgdir/usr/bin/${pkgname}
install -Dm755 ${srcdir}/${pkgname}.initd ${pkgdir}/etc/init.d/${pkgname}
mkdir -p ${pkgdir}/usr/share
cp -r client ${pkgdir}/usr/share/oeffisearch
}
sha512sums="eb94427dd2d39f4e373656e47957483ad53f1318c069423ebeee70bc04bd8ec87cc0e37bb2cc348c3106cb297588e864c17871688ea7c64c57b13117dae93640 oeffisearch-92cc53bb3a14b09ac9242e46bf138e3a1e6a72a7.tar.gz
65dd12c9edb74505a9b9b48ddc91da6a62372d81b6729cd38984bcc39935a34caa790cfdfb2e56a1bee19daa57a76c979ee4e675702d881fa30c20d40579a3ef oeffisearch.initd"