[add] ttm_unpack 20121203

This commit is contained in:
Carsten Teibes 2014-07-09 07:36:41 +02:00
commit 771ebf4080
2 changed files with 38 additions and 0 deletions

14
.SRCINFO Normal file
View file

@ -0,0 +1,14 @@
pkgbase = ttm_unpack
pkgdesc = An extractor for datafiles of 'To the Moon' and other games based on the RPG Maker XP engine
pkgver = 20121203
pkgrel = 1
url = http://davidgow.net/hacks/ttm_unpack.html
arch = i686
arch = x86_64
license = custom
depends = glibc
source = http://davidgow.net/files/ttm_unpack.c
sha256sums = d894c724521e29b95dd22c378ef28e4e470769c75fb8c902ce6192f542bb7804
pkgname = ttm_unpack

24
PKGBUILD Normal file
View file

@ -0,0 +1,24 @@
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
pkgname=ttm_unpack
pkgver=20121203
pkgrel=1
pkgdesc="An extractor for datafiles of 'To the Moon' and other games based on the RPG Maker XP engine"
arch=('i686' 'x86_64')
url="http://davidgow.net/hacks/ttm_unpack.html"
license=('custom')
depends=('glibc')
source=("http://davidgow.net/files/ttm_unpack.c")
sha256sums=('d894c724521e29b95dd22c378ef28e4e470769c75fb8c902ce6192f542bb7804')
build () {
# compile with our flags
gcc $CFLAGS ttm_unpack.c $LDFLAGS -o ttm_unpack
}
package () {
install -Dm755 ttm_unpack "$pkgdir"/usr/bin/ttm_unpack
# license
install -d "$pkgdir"/usr/share/licenses/$pkgname
head -n 17 ttm_unpack.c > "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}