desktop/freedroid/PKGBUILD
Neofytos Kolokotronis 8f663f631e freedroid: 0.16
2016-01-25 22:15:57 +00:00

38 lines
1.4 KiB
Bash

# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/freedroidrpg
pkgname=freedroid
_pkgname1=freedroidrpg
pkgver=0.16
pkgrel=1
pkgdesc="A mature science-fiction role-playing game set in the future."
arch=('x86_64')
url="http://freedroid.sourceforge.net"
screenshot='http://www.freedroid.org/typo3temp/pics/469c9a5549.jpg'
license=(GPL2)
depends=('lua' 'sdl_gfx' 'sdl_mixer' 'sdl_image' 'libogg' 'libvorbis' 'libgl' 'mesa' 'glu')
optdepends=('python2' 'espeak')
categories=('games')
replaces=($_pkgname1)
source=(ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-$pkgver/freedroidRPG-$pkgver.tar.gz
$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)
md5sums=('f74aaf41868dcceac64ffba9474327da'
'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
}