aboutsummaryrefslogblamecommitdiffstats
path: root/libspoton/PKGBUILD
blob: 167aaca56f210012b02651160d9d2004bb8a821f (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                        

                 



                                     
                                             
                                                                

                                                                                                                           


         
                                    



            
                                    





                                                                  
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=libspoton
pkgver=2015.06.17
pkgrel=1
pkgdesc='Binding library for Spot-On'
url='http://spot-on.sourceforge.net/'
arch=('i686' 'x86_64')
license=('custom:3-clause BSD')
depends=('sqlite' 'libgcrypt>=1.5' 'libntru')
makedepends=('sqlite' 'libgcrypt>=1.5' 'make' 'gcc' 'coreutils')
source=("Spot-On-${pkgver}.tar.gz::http://downloads.sourceforge.net/project/spot-on/Version%20${pkgver}/Spot-On.tar.gz?r=")
sha256sums=('bc4b1feb7197497b6e46a7e0d0a54b355be08a65d77df93cd468a2095f517fe5')


build() {
    cd "$srcdir/spot-on.d/libSpotOn"
    make
}

package () {
    cd "$srcdir/spot-on.d/libSpotOn"
    install -dm755 -- "$pkgdir/usr/lib"
    install -m755 -- libspoton.so "$pkgdir/usr/lib/libspoton.so"
    install -dm755 -- "$pkgdir/usr/include"
    install -m755 -- libspoton.h "$pkgdir/usr/include/libspoton.h"
}