upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / gnujump / trunk / PKGBUILD
blobd78ae7e099e829483cc405e9b9637ea2bf56003a
1 # Maintainer: Jonathan Steel <jsteel at archlinux.org>
2 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
3 # Contributor: Patrik Ilg <p.ilg@arcor.de>
5 pkgname=gnujump
6 pkgver=1.0.8
7 pkgrel=6
8 pkgdesc="A clone of the simple yet addictive game Xjump"
9 arch=('x86_64')
10 url="http://gnujump.es.gnu.org"
11 license=('GPL3')
12 depends=('mesa' 'sdl_image' 'sdl_mixer')
13 makedepends=('glu')
14 source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
15         https://sources.archlinux.org/other/community/$pkgname/$pkgname.png
16         $pkgname.desktop)
17 sha256sums=('13c3fe5f430eb0c010560c7e438123a573ca61a55c6708aa750cfbf56bf25e17'
18             '74db0c3e9921d7d1374e116ea045bd1c63b30b501dd656d84bce67767d0d7f2c'
19             'd29d273a015fea06ea5b811e88aa572423e0c3418225a52cf04f2c01d6a2b3ed')
21 build() {
22   cd $pkgname-$pkgver
24   LDFLAGS="-lm"
26   ./configure --prefix=/usr
28   make
31 package() {
32   cd $pkgname-$pkgver
34   make DESTDIR="$pkgdir" install
36   install -Dm644 "$srcdir"/$pkgname.png "$pkgdir"/usr/share/pixmaps/$pkgname.png
37   install -Dm644 "$srcdir"/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop