blob: e5d089f29da09811861c7eefa0be14fa212eedfb (
plain)
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
|
# Maintainer: Santiago Torres-Arias <santiago@archlinux.org>
pkgname=safetynets-git
pkgver=d193964
pkgrel=1
pkgdesc="A framework to outsource machine-learning inference computation"
arch=("x86_64" "i686")
url="https://github.com/zghodsi/safetynests"
license=('custom:CC-BY-NC')
depends=()
source=("git+https://github.com/zghodsi/safetynets")
sha256sums=('SKIP')
pkgver() {
cd safetynets
git log -n1 --format=%h
}
build() {
cd safetynets
make
}
check() {
cd safetynets
./safetynets.o timit_arch.txt
}
package() {
install -Dm755 "${srcdir}/safetynets/safetynets.o" "${pkgdir}/usr/bin/safetynets"
}
# vim:set ts=2 sw=2 et:
|