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


                                                                        
            




                                     
                                             
                                                                
                                                                                                                           
                                                                               














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

pkgname=libspoton
pkgver=0.17c
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::https://downloads.sourceforge.net/project/spot-on/Version%20${pkgver}/Spot-On.d.tar.gz")
sha256sums=('c7f0362fca988407fbcdf9e27b2a96920c58875c8a9d25100a667a0f5ce7f976')


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"
}