# Contributor: Olliver Schinagl # Maintainer: Olliver Schinagl pkgname=openv2g pkgver=0.9.4 pkgrel=0 pkgdesc="Implements ISO IEC 15118 and also the DIN 70121 vehicle to grid (V2G) communication interface" url="https://openv2g.org/" arch="all" license="LGPL-3.0-or-later" options="!check" # No tests available subpackages="lib$pkgname:libs $pkgname-dev" source=" makefiles.patch $pkgname-$pkgver.zip::https://downloads.sourceforge.net/sourceforge/openv2g/OpenV2G_$pkgver.zip " unpack() { mkdir -p "$builddir" unzip "$srcdir/$pkgname-$pkgver.zip" -d "$builddir" find "$builddir" \ \( -iname 'makefile' -o -iname '*.mk' \) \ -exec dos2unix '{}' \; } build() { cd Release make } package() { depends="lib$pkgname" cd Release make DESTDIR="$pkgdir/usr" install } sha512sums="5c4e8df3033a9ebed412a004efdb812528e3d7c7e8d126dc1a1139c106391eeba58a7b13f88a21d4addd176b6f65dee3d1e2243cb46177628c5dd2b6e3f59f33 makefiles.patch 0fe088bc3ae0f0dc6af8c9c3a989301e5e155a9406b80cb9025ceb5b548dc94202dde37993711c589fac6eddf626897c7ef003b73e01cb1c5b20b7b73365b930 openv2g-0.9.4.zip"