Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD of innoextract

By: a guest on Dec 6th, 2012  |  syntax: None  |  size: 1.12 KB  |  views: 47  |  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. # Maintainer: Daniel Scharrer <daniel@constexpr.org>
  2.  
  3. pkgname=innoextract
  4. pkgver=1.3
  5. pkgrel=1
  6. pkgdesc='A tool to extract installers created by Inno Setup'
  7. url='http://constexpr.org/innoextract/'
  8. arch=('i686' 'x86_64')
  9. license=('ZLIB')
  10. depends=('boost-libs' 'xz')
  11. makedepends=('boost' 'cmake')
  12. source=("https://github.com/downloads/dscharrer/InnoExtract/${pkgname}-${pkgver}.tar.gz")
  13. sha256sums=('bee65d1df2223870acb91ab90e9d933157167b8f7f5691ddd70f6a041d5bf671')
  14.  
  15. build() {
  16.         cd "${srcdir}/${pkgname}-${pkgver}"
  17.        
  18.         cmake . -DCMAKE_INSTALL_PREFIX=/usr \
  19.                 -DCMAKE_BUILD_TYPE=Release
  20.        
  21.         # To get a debug build change -DCMAKE_BUILD_TYPE=Release to
  22.         # -DCMAKE_BUILD_TYPE=Debug - this will run signifincantly slower but
  23.         # enable more runtime checks and generate better crash reports.
  24.        
  25.         make
  26. }
  27.  
  28. package() {
  29.         cd "${srcdir}/${pkgname}-${pkgver}"
  30.        
  31.         make DESTDIR="${pkgdir}" install
  32.        
  33.         install -Dm644 README.md \
  34.                 "${pkgdir}/usr/share/doc/${pkgname}/README.md"
  35.         install -Dm644 CHANGELOG \
  36.                 "${pkgdir}/usr/share/doc/${pkgname}/CHANGELOG"
  37.         install -Dm644 LICENSE \
  38.                 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  39. }
clone this paste RAW Paste Data