updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / xrick / PKGBUILD
blob78e78c10c854f1535816ada01f7aa0464653de87
1 # contributor: grimi <grimi at poczta dot fm>
3 pkgname=xrick
4 pkgver=021212
5 pkgrel=8
6 pkgdesc='xrick is a clone of Rick Dangerous'
7 arch=('i686' 'x86_64')
8 url="http://www.bigorno.net/xrick"
9 license=('custom:spirit of GPL')
10 depends=('sdl' 'zlib')
11 makedepends=('imagemagick' 'unzip')
12 source=("http://www.bigorno.net/xrick/$pkgname-$pkgver.zip" \
13         "xrick.sh" "xrick.desktop")
14 md5sums=('6a56d23679f51c602b285642c6451fb6'
15          'ea14a1ed277c361a77152272d49fcff6'
16          '6398136341dbc102f4c16574e9bc7460')
18 build() {
19   cd "$srcdir"/$pkgname-$pkgver
20   make
21   convert src/xrickST.ico xrick.png
24 package() {
25   cd "$srcdir"/$pkgname-$pkgver
26   install -d "$pkgdir"/usr/{bin,man/man6,share/{xrick,applications,pixmaps}}
27   install -m755 ../xrick.sh "$pkgdir"/usr/bin/xrick
28   install -m755 xrick "$pkgdir"/usr/share/xrick/
29   install -m644 {data.zip,KeyCodes} "$pkgdir"/usr/share/xrick/
30   install -m644 xrick.6.gz "$pkgdir"/usr/man/man6/
31   install -m644 ../xrick.desktop "$pkgdir"/usr/share/applications/
32   install -m644 xrick.png "$pkgdir"/usr/share/pixmaps/