diff options
author | RALOVICH, Kristof <tade60@freemail.hu> | 2014-03-02 10:14:11 +0100 |
---|---|---|
committer | RALOVICH, Kristof <tade60@freemail.hu> | 2014-03-02 10:14:11 +0100 |
commit | 423322997ef444b103df1c21e274ad87714020d3 (patch) | |
tree | 756235f14efd4d38a9ba20f44696fd8b1fbbbc36 | |
parent | a52eebc9564dceff6c558aca11c87ca1cf99a50b (diff) |
scripts: arch build file
-rw-r--r-- | scripts/archlinux/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/archlinux/PKGBUILD b/scripts/archlinux/PKGBUILD new file mode 100644 index 0000000..5a7599a --- /dev/null +++ b/scripts/archlinux/PKGBUILD @@ -0,0 +1,25 @@ +# 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="http://code.google.com/p/antpm/" +license=('GPL3') +depends=('libxml2' 'boost-libs') +makedepends=('boost' 'cmake') +source=("http://antpm.googlecode.com/files/antpm_${pkgver}.orig.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') |