pakur.sh 767 B

12345678910111213141516171819202122
  1. # source: https://github.com/archlinux/svntogit-packages/blob/packages/bzip2/trunk/PKGBUILD
  2. install -dm755 "$PKG"/usr/{bin,lib,include,share/man/man1}
  3. install -m755 bzip2-shared "$PKG"/usr/bin/bzip2
  4. install -m755 bzip2recover bzdiff bzgrep bzmore "$PKG"/usr/bin
  5. ln -sf bzip2 "$PKG"/usr/bin/bunzip2
  6. ln -sf bzip2 "$PKG"/usr/bin/bzcat
  7. cp -a libbz2.so* "$PKG"/usr/lib
  8. ln -s libbz2.so.$surum "$PKG"/usr/lib/libbz2.so
  9. ln -s libbz2.so.$surum "$PKG"/usr/lib/libbz2.so.1
  10. install -m644 bzlib.h "$PKG"/usr/include/
  11. install -m644 bzip2.1 "$PKG"/usr/share/man/man1/
  12. ln -sf bzip2.1 "$PKG"/usr/share/man/man1/bunzip2.1
  13. ln -sf bzip2.1 "$PKG"/usr/share/man/man1/bzcat.1
  14. ln -sf bzip2.1 "$PKG"/usr/share/man/man1/bzip2recover.1
  15. install -Dm644 bzip2.pc -t "$PKG"/usr/lib/pkgconfig