testing/nanomsg: improve abuild, remove SPDX license file

This commit is contained in:
prspkt 2018-05-30 06:25:55 +00:00 committed by Andy Postnikov
parent 5a070e8c69
commit dd9211c9ef

View File

@ -3,15 +3,15 @@
pkgname=nanomsg
pkgver=1.1.2
pkgrel=1
pkgdesc="A socket library that provides several common communication patterns"
url="http://nanomsg.org/"
pkgdesc="Socket library that provides several common communication patterns"
url="http://nanomsg.org"
arch="all !armhf" # armhf: segfaults in 2 tests
license="MIT"
depends_dev="asciidoctor xmlto"
makedepends="$depends_dev cmake"
options="libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/nanomsg/nanomsg/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
@ -30,8 +30,7 @@ check() {
package() {
cd "$builddir"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
make DESTDIR="$pkgdir" install
}
sha512sums="f95ce24b34c25d139cf3de46585f6354e0311a9d5e7135ad71df62b8bb5df26f81a58b9773c39c320df2d0e97cd2905a8576f9f00b0a4d33774f1b610271cee5 nanomsg-1.1.2.tar.gz"