4 pkgdesc="An editor for Chip's Challenge levels."
5 url="http://cctools.zrax.net/"
8 optdepends=("tworld: for playtesting")
11 install=cctools.install
12 source=("ftp://ftp.zrax.net/CCTools/$pkgname-$pkgver.tar.gz"
15 md5sums=('e6174ff509437b39ec4ea844e2ee5419'
16 'c49153983e8c9e1f7bc702a4264e65db'
17 '2060c86d0de0da5c5847601101f9d66b')
18 sha1sums=('5b6ddbdd6159a71cf1c2d12d2e212ba62457267f'
19 'fbc9c47f99f303cf316f97cb81cfd6ba35567364'
20 'd8b5262e7839ed5ac2ed372831677a2607eb5677')
23 cd $srcdir/$pkgname-$pkgver
25 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
30 cd $srcdir/$pkgname-$pkgver
32 make DESTDIR=$pkgdir install
34 mkdir -p "$pkgdir"/usr/share/{pixmaps,applications}
36 install -m644 "$srcdir"/{ccedit,ccplay}.desktop "$pkgdir/usr/share/applications/"
38 install -m644 src/CCEdit/icons/boot-48.png "$pkgdir/usr/share/pixmaps/ccedit-icon.png"
39 install -m644 src/CCPlay/icons/chip-48.png "$pkgdir/usr/share/pixmaps/ccplay-icon.png"