summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 22d577ff8cf53918dd8ac1de71f084860e3bbd1d (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
# Maintainer: Que Quotion <quequotion@bugmenot.com>

pkgname=doomcube
pkgver=2011
pkgrel=5
pkgdesc="The GPL Cube of Potential Doom."
arch=('i686' 'x86_64')
url="https://www.kismetwireless.net/doomcube/"
license=('GPL')
depends=('bash' 'libgl' 'freeglut')
makedepends=('libgl')
source=(http://www.kismetwireless.net/code/doomcube-$pkgver-02-R1.tar.gz
	doomcube-feed
	doomcube.desktop
	quiet.patch)
sha512sums=('d79794973a836351de87fe4161e9e9d33d48c2235ebe8c6e8d15e23a395e15127023f61f20df37b2fe4af962da3dcb0abca66b63c65b30d6aedc76b4e2a484d9'
            '78b5830d104f09a109672c0e683c3f3aba12ce1586faee7225ee9aba8b0d2a50304e80587903e3849338e7fcccde12a3ed20666c54b18370a8b986278e3d8d44'
            '98ee8d2e9abda783102fbea0685c01c2e62c48646b32df26bfa3c4f6e2d1f161f3c5ffd6f18825f9ce073d603a3fe959005e57bd1ed7dfe3c0c1a481fa21a7af'
            'd6070617e200cf36fc7d3d04c937e39a01bae40119daca46582806557d43f87105244550b7af2908e54f5413b970a62cb4ef9f7951ae07a66bfdd7b64778fba2')

prepare() {
	cd ${srcdir}/doomcube-$pkgver-02-R1
	patch -Np2 < ../quiet.patch
}

build() {
	cd ${srcdir}/doomcube-$pkgver-02-R1
	./configure --prefix=/usr
	make
}

package() {
        install -dm755 $pkgdir/usr/bin/
        install -dm755 $pkgdir/usr/share/applications/
	install -Dm755 ${srcdir}/doomcube-$pkgver-02-R1/doomcube $pkgdir/usr/bin/
	install -Dm755 ${srcdir}/doomcube-feed $pkgdir/usr/bin/
	install -Dm644 ${srcdir}/doomcube.desktop $pkgdir/usr/share/applications/
}