summaryrefslogtreecommitdiff
path: root/user/fftw/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/fftw/APKBUILD')
-rw-r--r--user/fftw/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/user/fftw/APKBUILD b/user/fftw/APKBUILD
index 31a334f88..aba0de1a6 100644
--- a/user/fftw/APKBUILD
+++ b/user/fftw/APKBUILD
@@ -2,6 +2,7 @@
# Maintainer:
pkgname=fftw
pkgver=3.3.8
+_pkgver=$(printf '%s' "$pkgver" | sed 's/p/-pl/')
pkgrel=0
pkgdesc="Fastest fourier transform in the west"
url="http://www.fftw.org/"
@@ -12,9 +13,8 @@ makedepends="texinfo"
# order of the libs split functions are important because of lib naming
subpackages="$pkgname-dev $pkgname-doc $pkgname-single-libs:single
$pkgname-long-double-libs:long_double $pkgname-double-libs:double"
-srcpkgver=${pkgver//p/-pl}
-source="http://www.fftw.org/$pkgname-$srcpkgver.tar.gz"
-builddir="$srcdir/$pkgname-$srcpkgver"
+source="http://www.fftw.org/$pkgname-$_pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$_pkgver"
_precision="single double long-double"