🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738
pkgname: libunistring
pkgver: '1.4.2'
pkgrel: '1'
pkgdesc: 'libunistring is a library that provides functions for manipulating Unicode strings'
url: 'http://www.gnu.org/software/bison/'
arch: x86_64
depends: []
makedepends: []
source:
- 'ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}
sed -r '/_GL_EXTERN_C/s/w?memchr|bsearch/(&)/' \
-i $(find -name \*.in.h)
./configure --prefix=/usr \
-disable-static \
--docdir=/usr/share/doc/libunistring-${pkgver}
make
make DESTDIR=${PKGDIR} install
rm -f ${PKGDIR}/usr/lib/libunistring.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