aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordai9ah <dai9ah@protonmail.com>2018-02-26 11:10:45 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-05 23:24:41 +0000
commitb004237cafef313deb0ba07c4f65983f10205926 (patch)
tree4a2bae11d9047bb28cc9b5d180d8fa04f562285c
parent1e534120cc697ef8fb0418a5c01d55149cc4198a (diff)
downloadaports-b004237cafef313deb0ba07c4f65983f10205926.tar.bz2
aports-b004237cafef313deb0ba07c4f65983f10205926.tar.xz
main/soxr: upgrade to 0.1.3, clarify license, modernize
-rw-r--r--main/soxr/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/main/soxr/APKBUILD b/main/soxr/APKBUILD
index 6b604e738d..dbc0d91ee2 100644
--- a/main/soxr/APKBUILD
+++ b/main/soxr/APKBUILD
@@ -1,31 +1,32 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=soxr
-pkgver=0.1.2
+pkgver=0.1.3
pkgrel=0
pkgdesc="High quality, one-dimensional sample-rate conversion library"
-url="https://sourceforge.net/projects/soxr/"
+url="https://sourceforge.net/projects/soxr"
arch="all"
-license="LGPL-2.0"
+license="LGPL-2.1-or-later"
depends=""
depends_dev="cmake"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.xz::https://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver-Source.tar.xz/download"
-_builddir="$srcdir"/$pkgname-$pkgver-Source
+_builddir="$srcdir/$pkgname-$pkgver-Source"
+
build() {
cd "$_builddir"
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DBUILD_TESTS=ON .
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DBUILD_TESTS=ON
make
make test
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="0866fc4320e26f47152798ac000de1c0 soxr-0.1.2.tar.xz"
-sha256sums="54e6f434f1c491388cd92f0e3c47f1ade082cc24327bdc43762f7d1eefe0c275 soxr-0.1.2.tar.xz"
-sha512sums="ee902c1bc713e05b748f917d78222b68b5fe01d43f405e0954c21ce4d1ee494d01000caa79f696cb8d202c662a4c4d958b332dae034d6f929e0480abf27cd07c soxr-0.1.2.tar.xz"
+sha512sums="f4883ed298d5650399283238aac3dbe78d605b988246bea51fa343d4a8ce5ce97c6e143f6c3f50a3ff81795d9c19e7a07217c586d4020f6ced102aceac46aaa8 soxr-0.1.3.tar.xz"