🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
pkgname: 'apr-util'
pkgver: '1.6.5'
pkgrel: '1'
pkgdesc: 'Apache Portable Runtime Utility Library'
url: 'https://apr.apache.org/'
arch: x86_64
depends: []
makedepends:
- sed
- apr
- expat
- libxcrypt
source:
- 'https://archive.apache.org/dist/apr/${pkgname}-${pkgver}.tar.bz2'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--with-apr=/usr \
--with-gdbm=/usr \
--with-openssl=/usr \
--with-crypto
make
make DESTDIR=${PKGDIR} install
# Obsolets libs
rm -f ${PKGDIR}/usr/lib/apr-util-1/apr_crypto_openssl.la
rm -f ${PKGDIR}/usr/lib/apr-util-1/apr_dbd_sqlite3.la
rm -f ${PKGDIR}/usr/lib/apr-util-1/apr_dbm_gdbm.la
rm -f ${PKGDIR}/usr/lib/libaprutil-1.la
package: |
true
update: |
local url ext name
name="apr"
url="http://archive.apache.org/dist/${pkgname}/"
ext=".tar.bz2"
lynx -read_timeout=20 -dump -listonly -nonumbers \
$url|grep ${pkgname}-util-[0-9]|grep [0-9]$ext$| \
sed "s@$url${pkgname}-util-@@"|sed "s@$ext@@"| \
sort|tail -1