🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132
pkgname: gsl
pkgver: '2.8'
pkgrel: '2'
pkgdesc: 'Scientific Library (GSL) is a numerical library for C and C++ programmers.'
url: 'http://www.gnu.org/software/gsl/'
arch: x86_64
depends: []
makedepends: []
source:
- 'https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--disable-static
make
make DESTDIR=${PKGDIR} install
rm -f ${PKGDIR}/usr/lib/libgsl{,cblas}.la
package: |
true
update: |
local url ext
url="https://ftp.gnu.org/gnu/${pkgname}/"
ext=".tar.gz"
lynx -read_timeout=20 -dump -listonly -nonumbers \
$url?C=M\;O=A|grep ${pkgname}-[0-9]|grep [0-9]$ext$| \
sed "s@$url${pkgname}-@@"|sed "s@$ext@@"|tail -1