diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 14 insertions, 6 deletions
@@ -1,12 +1,11 @@ pkgbase = libeb pkgdesc = C library for accessing CD-ROM books. Supports EB, EBG, EBXA, EBXA-C, S-EBXA and EPWING formats. pkgver = 4.4.3 - pkgrel = 8 + pkgrel = 9 url = http://www.mistys-internet.website/eb/index-en.html arch = i686 arch = x86_64 license = BSD - depends = libnsl depends = perl depends = zlib provides = libeb.so @@ -4,15 +4,13 @@ pkgname='libeb' _pkgname='eb' pkgver=4.4.3 -pkgrel=8 +pkgrel=9 _pkgrel_debian=14 # Version of Debian package patch pkgdesc='C library for accessing CD-ROM books. Supports EB, EBG, EBXA, EBXA-C, S-EBXA and EPWING formats.' arch=('i686' 'x86_64') url='http://www.mistys-internet.website/eb/index-en.html' license=('BSD') -depends=('libnsl' - 'perl' - 'zlib') +depends=('perl' 'zlib') provides=('libeb.so' 'eb-library') conflicts=('eb-library') replaces=('eb-library') # Has been deleted from AUR and merged into this package @@ -28,6 +26,17 @@ prepare() { msg2 "[patch] Applying ${_patch1_name}..." patch --forward --strip=1 --input="../${_patch1_name}" + msg2 "Removing link configuration for unused libraries" + sed -e 's/-liconv//g' \ + -i 'm4/gettext.m4' \ + -i 'configure' + sed -e 's/-lnsl//g' \ + -e 's/-lresolv//g' \ + -i 'configure' + sed -e '/AC_CHECK_LIB(nsl/c/' \ + -e '/AC_CHECK_LIB(resolv/c/' \ + -i 'configure.ac' + msg2 "[autoupdate] Refreshing configure.ac..." autoupdate --force |