# Maintainer: kusakata <shohei atmark kusakata period com>

pkgname=antpm
pkgver=1.15
pkgrel=1
pkgdesc='Userspace implementation of a wire protocol similar to the ANT/ANT+/ANT-FS protocols'
arch=('i686' 'x86_64')
url="https://github.com/ralovich/antpm"
license=('GPL3')
depends=('libxml2' 'boost-libs')
makedepends=('boost' 'cmake')
source=("https://github.com/ralovich/antpm/archive/refs/tags/${pkgver}.tar.gz")

build() {
	cd "${srcdir}/src"
	cmake -D CMAKE_INSTALL_PREFIX=/usr -D USE_BOOST_STATIC_LINK=OFF .
	make
}

package() {
	cd "${srcdir}/src"
	make DESTDIR="$pkgdir" install
}

md5sums=('8482a4f846d3647ad408588bd940e0ab')
