This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

lib32-libwbclient 4.1.6-1/PKGBUILD

By: khampf on Apr 16th, 2014  |  syntax: Bash  |  size: 0.76 KB  |  views: 86  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }
clone this paste RAW Paste Data