mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
|
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
|
|
|
pkgname=fillets-ng
|
|
pkgver=0.9.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' 'sdl_mixer' 'sdl_ttf' 'sdl_image' 'desktop-file-utils')
|
|
makedepends=('patch')
|
|
install=$pkgname.install
|
|
source=(http://downloads.sourceforge.net/fillets/$pkgname-$pkgver.tar.gz \
|
|
http://fillets.sourceforge.net/img/icon.png \
|
|
$pkgname.desktop \
|
|
$pkgname-gccfix.diff)
|
|
|
|
md5sums=('13bb4f98d73bc0b6aff39ee1c9582adb'
|
|
'746a6f71ba1a6b5a918f04448b3db7eb'
|
|
'803617e630043e49807b380cd28803dc'
|
|
'7855d4edab2870d09832d3c501b3c063')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
patch -Np0 -i ${srcdir}/$pkgname-gccfix.diff || return 1
|
|
|
|
./configure --prefix=/usr --datadir=/usr/share/$pkgname
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
#.desktop and icon files
|
|
install -D -m644 ${srcdir}/icon.png \
|
|
${pkgdir}/usr/share/pixmaps/$pkgname.png || return 1
|
|
install -D -m644 ${srcdir}/$pkgname.desktop \
|
|
${pkgdir}/usr/share/applications/$pkgname.desktop || return 1
|
|
}
|