updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / gootool / PKGBUILD
blobbd63408e7e9f43bd9327f112b2fcf177cf725958
1 # Contributor: Matthew Bauer <mjbauer95@gmail.com>
3 pkgname=gootool
4 pkgver=1.0.3.441
5 pkgrel=4
6 pkgdesc="World of Goo hacking utility (worldofgoo)"
7 arch=(any)
8 url="http://goofans.com/download/utility/$pkgname"
9 license=('custom')
10 source=(http://goofans.com/download/145/1254/$pkgname-$pkgver-linux.tar.bz2
11         application-x-goomod.xml
12         gootool.desktop)
13 depends=('java-runtime')
14 optdepends=("worldofgoo: if you don't already have the game")
15 md5sums=('0b20ce256fbf6440659457ac1c5611cd'
16         'a2d4a46c158e5c80bf4ac10b43b4100d'
17         '0461706a2a607fe39b701d3ccbc67b0f')
20 build() {
21         return 0
24 package() {
25         install -D -m644 "${srcdir}/application-x-goomod.xml" "${pkgdir}/usr/share/mime/packages/application-x-goomod.xml"
26         install -D -m644 "${srcdir}/gootool.desktop" "${pkgdir}/usr/share/applications/gootool.desktop"
27         mkdir -p ${pkgdir}/usr
28         cp -r ${srcdir}/${pkgname}-${pkgver}/* ${pkgdir}/usr