diff options
-rw-r--r-- | libspoton/PKGBUILD | 28 | ||||
-rw-r--r-- | spot-on/PKGBUILD | 6 |
2 files changed, 30 insertions, 4 deletions
diff --git a/libspoton/PKGBUILD b/libspoton/PKGBUILD new file mode 100644 index 0000000..b21ae16 --- /dev/null +++ b/libspoton/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=libspoton +pkgver=0.09.04 +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') +makedepends=('sqlite' 'libgcrypt>=1.5' 'make' 'gcc' 'coreutils') +source=("https://downloads.sourceforge.net/project/spot-on/Version%20${pkgver}/Spot-On.d.tar.gz") +sha256sums=('2c75307d52e9e3ee61a35e5406905a9f3a08d61423a36fe1d5c74bb70936936d') + + +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" +} + diff --git a/spot-on/PKGBUILD b/spot-on/PKGBUILD index d2d1690..25a16e1 100644 --- a/spot-on/PKGBUILD +++ b/spot-on/PKGBUILD @@ -2,12 +2,12 @@ pkgname=spot-on pkgver=0.09.04 -pkgrel=2 +pkgrel=3 pkgdesc='An exploratory research project investigating a variety of communications protocols' url='http://spot-on.sourceforge.net/' arch=('i686' 'x86_64') license=('custom:3-clause BSD') -depends=('qt5-base' 'geoip>=1.5.1' 'libgcrypt>=1.5' 'openssl>=0.9.8' 'lksctp-tools') +depends=('qt5-base' 'geoip>=1.5.1' 'libgcrypt>=1.5' 'openssl>=0.9.8' 'lksctp-tools' "libspoton=${pkgver}") makedepends=('qt5-base' 'geoip>=1.5.1' 'libgcrypt>=1.5' 'openssl>=0.9.8' 'lksctp-tools' 'qt5-tools' 'make' 'gcc') source=("https://downloads.sourceforge.net/project/spot-on/Version%20${pkgver}/Spot-On.d.tar.gz") sha256sums=('2c75307d52e9e3ee61a35e5406905a9f3a08d61423a36fe1d5c74bb70936936d') @@ -21,8 +21,6 @@ build() { package () { cd "$srcdir/spot-on.d/branches/$pkgver" - install -dm755 -- "$pkgdir/usr/lib" - install -m755 -- ../../libSpotOn/libspoton.so "$pkgdir/usr/lib/libspoton.so" install -dm755 -- "$pkgdir/usr/lib/spot-on" install -m755 -- Spot-On "$pkgdir/usr/lib/spot-on/Spot-On" install -m755 -- Spot-On-Kernel "$pkgdir/usr/lib/spot-on/Spot-On-Kernel" |