Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Contributor: Mark Pustjens <pustjens@dds.nl>
- # Contributor: Daenyth <Daenyth+Arch AT gmail DOT com>
- # Contributor: Chee Sing Lee <cheesinglee AT gmail DOT com>
- pkgname=dfhack
- pkgver=0.34.11
- pkgrel=1
- pkgdesc="DFHack is a Dwarf Fortress memory access library and a set of basic tools that use it."
- arch=('i686' 'x86_64')
- url="https://github.com/peterix/dfhack"
- license=('custom:zlib')
- depends=(dwarffortress)
- conflicts=(dfhack-git)
- provides=(dfhack)
- replaces=(dfhack)
- source=("https://github.com/downloads/peterix/dfhack/dfhack-${pkgver}-r${pkgrel}-Linux.tar.gz")
- md5sums=('eda610e98e843c3161c18bf359ee31e8')
- build() {
- install -d ${pkgdir}/opt/df_linux
- install ${srcdir}/dfhack ${pkgdir}/opt/df_linux/
- install ${srcdir}/dfhack.init-example ${pkgdir}/opt/df_linux/
- cp -r ${srcdir}/hack ${pkgdir}/opt/df_linux/
- cp -r ${srcdir}/stonesense ${pkgdir}/opt/df_linux/
- find ${pkgdir} -type f -print0 | xargs -0 chmod 644
- find ${pkgdir} -type d -print0 | xargs -0 chmod 755
- chmod 755 ${pkgdir}/opt/df_linux/dfhack
- chmod 755 /opt/df_linux
- }
- # vim:set ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement