🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233343536373839
pkgname: apr
pkgver: '1.7.6'
pkgrel: '3'
pkgdesc: 'Apache Portable Runtime (APR)'
url: 'https://apr.apache.org/'
arch: x86_64
depends: []
makedepends:
- python
- libxcrypt
source:
- 'https://archive.apache.org/dist/${pkgname}/${pkgname}-${pkgver}.tar.bz2'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --disable-static \
--with-installbuilddir=/usr/share/apr-1/build
make
make DESTDIR=${PKGDIR} install
# Obsolet lib
rm -f ${PKGDIR}/usr/lib/libapr-1.la
package: |
true
update: |
local url ext
url="http://archive.apache.org/dist/${pkgname}/"
ext=".tar.bz2"
lynx -read_timeout=20 -dump -listonly -nonumbers \
$url|grep ${pkgname}-[0-9]|grep [0-9]$ext$| \
sed "s@$url${pkgname}-@@"|sed "s@$ext@@"| \
sort|tail -1