summaryrefslogtreecommitdiff
path: root/community/fillets-ng/PKGBUILD
blob: 9e4741e7224ef24f945e796da4228114d3ea998d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $Id: PKGBUILD 65307 2012-02-20 20:47:47Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=fillets-ng
pkgver=1.0.1
pkgrel=1
pkgdesc="A port of the wonderful puzzle game Fish Fillets"
url="http://fillets.sf.net/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('fillets-ng-data' 'lua' 'fribidi' 'gcc-libs' 'libx11' 'sdl_mixer' 'sdl_ttf' 'sdl_image' 'desktop-file-utils')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://downloads.sourceforge.net/fillets/$pkgname-$pkgver.tar.gz \
        http://fillets.sourceforge.net/img/icon.png \
        $pkgname.desktop)
sha256sums=('329a4d9515d60bebdb657d070824933b993b85864b9d3e302e6361accab992da'
            'dec9d93c33b8e0f039e14228aad6be142109b0689bd216bcda2d91265500e2a0'
            '6283237a582c90cb9734ee420e79cfccaa5c8c35aae9a19000202ceb96ad3254')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  ./configure --prefix=/usr --datadir=/usr/share/$pkgname
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver

  make DESTDIR=${pkgdir} install

#.desktop and icon files
  install -D -m644 ${srcdir}/icon.png \
    ${pkgdir}/usr/share/pixmaps/$pkgname.png
  install -D -m644 ${srcdir}/$pkgname.desktop \
    ${pkgdir}/usr/share/applications/$pkgname.desktop

}