summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 131e8bfc9cc..46545f46d42 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,11 +2,12 @@
pkgname=tiny-dnn
pkgver=1.0.0a3
-pkgrel=3
+pkgrel=4
pkgdesc='A C++11 implementation of deep learning for limited computational resource, embedded systems and IoT devices'
arch=('any')
url='https://github.com/tiny-dnn/tiny-dnn/'
license=('BSD')
+optdepends=('cereal: for serialization support')
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/tiny-dnn/tiny-dnn/archive/v${pkgver}.tar.gz")
sha256sums=('e2c61ce8c5debaa644121179e9dbdcf83f497f39de853f8dd5175846505aa18b')
@@ -15,18 +16,15 @@ build() {
cd "${pkgname}-${pkgver}"
cmake \
- -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
- -DBUILD_TESTS:BOOL=OFF \
- -DBUILD_EXAMPLES:BOOL=OFF \
- -DBUILD_DOCS:BOOL=OFF \
+ -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-Wno-dev \
.
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
make DESTDIR="$pkgdir" install
- install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}