Advertisement
khampf

lib32-libwbclient 4.1.6-1/PKGBUILD

Apr 16th, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.76 KB | None | 0 0
  1. # AUR packages should not be built from binaries. This is a
  2. # workaround. If you manage to build this lib32 package from
  3. # source, let the maintainer know and you will be helping the
  4. # Arch community.
  5.  
  6. _pkgbase=libwbclient
  7. pkgname=lib32-${_pkgbase}
  8. pkgver=4.1.6
  9. pkgrel32=1
  10. pkgrel=1
  11. pkgdesc="Samba winbind client library (32 bits)"
  12. arch=('x86_64')
  13. url="http://www.samba.org"
  14. license=('GPL3')
  15. depends=('lib32-libbsd' "${_pkgbase}>=${pkgver}")
  16. source=("ftp://ftp.archlinux.org/extra/os/i686/${_pkgbase}-${pkgver}-${pkgrel32}-i686.pkg.tar.xz")
  17. md5sums=('1af72a48369a00ffbe845af1c731b53f')
  18. package() {
  19.   mkdir -p "${pkgdir}"/usr/lib32
  20.   cp -rPf "${srcdir}"/usr/lib/* "${pkgdir}"/usr/lib32
  21.   sed -i 's#/usr/lib#&32#' "${pkgdir}"/usr/lib32/pkgconfig/wbclient.pc
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement