updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / inform7 / PKGBUILD
blob04d0c2de5cdf5f8ddb10ac47efc3390a7efe1064
1 # Contributor: Jonathan Liu <net147@gmail.com>
2 pkgname=inform7
3 pkgver=6G60
4 pkgrel=1
5 pkgdesc="A design system for interactive fiction based on natural language"
6 arch=('i686' 'x86_64')
7 url="http://inform7.com/"
8 license=('custom:Inform')
9 depends=('perl')
10 source=("http://inform7.com/download/content/${pkgver}/I7_${pkgver}_Linux_all.tar.gz"
11         "install-inform7.sh.patch"
12         "LICENSE")
13 md5sums=('375403e827fcb92bc1d7881c89b97168'
14          'cfc8edd0e98a230f7fd00c212c8f0f84'
15          'a18958ae17bcc3733119cad77376eec5')
17 build() {
18   cd "${srcdir}/${pkgname}-${pkgver}"
19   patch -Np1 -i "${srcdir}/install-inform7.sh.patch"
22 package() {
23   cd "${srcdir}/${pkgname}-${pkgver}"
24   ./install-inform7.sh -p "$pkgdir/usr"
25   mv "${pkgdir}/usr/man" "${pkgdir}/usr/share/"
26   install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}"
29 # vim:set ts=2 sw=2 et: