summaryrefslogtreecommitdiff
path: root/community/fillets-ng/PKGBUILD
blob: 31b822703c44c5b792350cabd7ee3a143b2fc334 (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 36474 2011-01-02 19:39:06Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=fillets-ng
pkgver=1.0.0
pkgrel=1
pkgdesc="A port of the wonderful puzzle game Fish Fillets"
url="http://fillets.sf.net/"
arch=('i686' 'x86_64' 'mips64el')
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)
md5sums=('276bb416d7f8bf9ef0969fd7a3c42d52'
         '746a6f71ba1a6b5a918f04448b3db7eb'
         '803617e630043e49807b380cd28803dc')

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

}