2016-01-26 06:15:57 +08:00
|
|
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/freedroidrpg
|
2011-12-18 09:58:45 +08:00
|
|
|
|
|
|
|
pkgname=freedroid
|
|
|
|
_pkgname1=freedroidrpg
|
2016-05-14 04:07:25 +08:00
|
|
|
pkgver=0.16.1
|
2011-12-18 09:58:45 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A mature science-fiction role-playing game set in the future."
|
2016-01-26 06:15:57 +08:00
|
|
|
arch=('x86_64')
|
2011-12-18 09:58:45 +08:00
|
|
|
url="http://freedroid.sourceforge.net"
|
|
|
|
screenshot='http://www.freedroid.org/typo3temp/pics/469c9a5549.jpg'
|
|
|
|
license=(GPL2)
|
2016-01-26 06:15:57 +08:00
|
|
|
depends=('lua' 'sdl_gfx' 'sdl_mixer' 'sdl_image' 'libogg' 'libvorbis' 'libgl' 'mesa' 'glu')
|
2016-05-14 04:07:25 +08:00
|
|
|
makedepends=('python2' 'espeak')
|
2011-12-18 09:58:45 +08:00
|
|
|
optdepends=('python2' 'espeak')
|
2012-03-07 19:00:46 +08:00
|
|
|
categories=('games')
|
2011-12-18 09:58:45 +08:00
|
|
|
replaces=($_pkgname1)
|
2016-05-14 04:07:25 +08:00
|
|
|
source=(ftp://ftp.osuosl.org/pub/${pkgname}/${pkgname}RPG-${pkgver:0:4}/freedroidRPG-${pkgver}.tar.gz
|
2011-12-18 09:58:45 +08:00
|
|
|
$pkgname.jpg::http://projects.archlinux.org/svntogit/community.git/plain/trunk/$_pkgname1.jpg?h=packages/$_pkgname1
|
|
|
|
$pkgname.desktop::http://projects.archlinux.org/svntogit/community.git/plain/trunk/$_pkgname1.desktop?h=packages/$_pkgname1)
|
2016-05-14 04:07:25 +08:00
|
|
|
md5sums=('ba19730c0139df810602ea9252d47120'
|
2011-12-18 09:58:45 +08:00
|
|
|
'b73d9dac44c7e83a6c80fbe4eb96ba79'
|
|
|
|
'9a10c2a2064439cdcff5b945dfb1c3ac')
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$_pkgname1-$pkgver
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$_pkgname1-$pkgver
|
|
|
|
make DESTDIR=$pkgdir/ install
|
|
|
|
|
|
|
|
# Desktop integration.
|
|
|
|
install -D -m644 $srcdir/$pkgname.jpg $pkgdir/usr/share/pixmaps/$pkgname.jpg
|
|
|
|
install -D -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
|
|
|
|
}
|