Advertisement
gleechinese

PKGBUILD dfhack-0.34.11-r1

Jul 7th, 2012
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.08 KB | None | 0 0
  1. # Contributor: Mark Pustjens <pustjens@dds.nl>
  2. # Contributor: Daenyth <Daenyth+Arch AT gmail DOT com>
  3. # Contributor: Chee Sing Lee <cheesinglee AT gmail DOT com>
  4. pkgname=dfhack
  5. pkgver=0.34.11
  6. pkgrel=1
  7. pkgdesc="DFHack is a Dwarf Fortress memory access library and a set of basic tools that use it."
  8. arch=('i686' 'x86_64')
  9. url="https://github.com/peterix/dfhack"
  10. license=('custom:zlib')
  11. depends=(dwarffortress)
  12. conflicts=(dfhack-git)
  13. provides=(dfhack)
  14. replaces=(dfhack)
  15. source=("https://github.com/downloads/peterix/dfhack/dfhack-${pkgver}-r${pkgrel}-Linux.tar.gz")
  16. md5sums=('eda610e98e843c3161c18bf359ee31e8')
  17.  
  18. build() {
  19.   install -d ${pkgdir}/opt/df_linux
  20.   install ${srcdir}/dfhack ${pkgdir}/opt/df_linux/
  21.   install ${srcdir}/dfhack.init-example ${pkgdir}/opt/df_linux/
  22.   cp -r ${srcdir}/hack ${pkgdir}/opt/df_linux/
  23.   cp -r ${srcdir}/stonesense ${pkgdir}/opt/df_linux/
  24.   find ${pkgdir} -type f -print0 | xargs -0 chmod 644
  25.   find ${pkgdir} -type d -print0 | xargs -0 chmod 755
  26.   chmod 755 ${pkgdir}/opt/df_linux/dfhack
  27.   chmod 755 /opt/df_linux
  28. }
  29.  
  30. # vim:set ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement