diff options
author | Kane | 2017-08-09 20:16:14 +1000 |
---|---|---|
committer | Kane | 2017-08-09 20:16:14 +1000 |
commit | 395c172ebda8edfb3a57993c16df252265c1a525 (patch) | |
tree | 4573c38544bd0b482e2bae37db6e228164c5e247 | |
parent | e75072fd34efa87b7b6a06021723c86e7391c5f5 (diff) | |
download | aur-395c172ebda8edfb3a57993c16df252265c1a525.tar.gz |
Updated package to 2017-03-R2 version
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 18 insertions, 34 deletions
@@ -1,22 +1,15 @@ pkgbase = libbtbb-git pkgdesc = Bluetooth baseband decoding library - pkgver = 2014.02.R2.r53.gac7dabc + pkgver = 2017.03.R2 pkgrel = 1 - epoch = 2 url = https://github.com/greatscottgadgets/libbtbb - arch = i686 arch = x86_64 + arch = i686 license = GPL2 makedepends = cmake - makedepends = python2 - makedepends = git - depends = zlib - depends = openssl - depends = libssh2 - provides = libbtbb - conflicts = libbtbb - source = git://github.com/greatscottgadgets/libbtbb - md5sums = SKIP + depends = python + source = https://github.com/greatscottgadgets/libbtbb/archive/2017-03-R2.tar.gz + sha1sums = 76d063471c41de24f071700238badbebcc20ee5f pkgname = libbtbb-git @@ -1,33 +1,24 @@ -# Maintainer: Raphael Nestler <raphael.nestler@gmail.com> - -_gitname=libbtbb pkgname=libbtbb-git -pkgver=2014.02.R2.r53.gac7dabc -epoch=2 +pkgver=2017.03.R2 pkgrel=1 pkgdesc='Bluetooth baseband decoding library' -arch=('i686' 'x86_64') -url="https://github.com/greatscottgadgets/libbtbb" +url='https://github.com/greatscottgadgets/libbtbb' +arch=('x86_64' 'i686') license=('GPL2') -depends=(python) -makedepends=(cmake python2 git) -provides=('libbtbb') -conflicts=('libbtbb') -source=(git://github.com/greatscottgadgets/libbtbb) -md5sums=(SKIP) - -pkgver() { - cd $_gitname - git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/v//' -} +makedepends=(cmake) +depends=('python') +source=("https://github.com/greatscottgadgets/libbtbb/archive/2017-03-R2.tar.gz") +sha1sums=('76d063471c41de24f071700238badbebcc20ee5f') build() { - cd $_gitname - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \ - -DTHREADSAFE=ON -DPYTHON_EXECUTABLE=/usr/bin/python2 + cd "${srcdir}/${pkgname}-2017-03-R2/" + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr .. make } package() { - make -C $_gitname DESTDIR="$pkgdir" install + cd "${srcdir}/${pkgname}-2017-03-R2/build/" + make install } |