summaryrefslogtreecommitdiff
path: root/libre/vor
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-06-13 18:00:41 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-06-13 18:00:41 -0500
commitccaede44f759b76f7d120ab891a50a9eb048648c (patch)
treee746cbb0a9fb649e366bc7f4d91dbd06d4607de8 /libre/vor
parent1a548e34fb5f1572fa23d714106c3913785a25f7 (diff)
downloadabslibre-ccaede44f759b76f7d120ab891a50a9eb048648c.tar.gz
abslibre-ccaede44f759b76f7d120ab891a50a9eb048648c.tar.bz2
abslibre-ccaede44f759b76f7d120ab891a50a9eb048648c.zip
vor: add new package to [libre]
Diffstat (limited to 'libre/vor')
-rw-r--r--libre/vor/PKGBUILD41
-rw-r--r--libre/vor/vor.pngbin0 -> 1336 bytes
2 files changed, 41 insertions, 0 deletions
diff --git a/libre/vor/PKGBUILD b/libre/vor/PKGBUILD
new file mode 100644
index 000000000..37b39d481
--- /dev/null
+++ b/libre/vor/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer (Arch): Alexander Rødseth <rodseth@gmail.com>
+# Contributor (Arch): tdy <tdy@gmx.com>
+# Contributor (Arch): nut543 <kfs1@online.no>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=vor
+pkgver=0.5.5
+pkgrel=3.parabola1
+pkgdesc='Classic spaceship versus asteroid field arcade game, without nonfree netpbm recommendation'
+arch=('x86_64' 'i686')
+url='http://jasonwoof.org/vor'
+license=('GPL')
+depends=('sdl_image' 'sdl_mixer')
+makedepends=('gendesk')
+optdepends=('povray: for customizing game graphics')
+options=('!emptydirs')
+source=("http://qualdan.com/$pkgname/$pkgname-$pkgver.tar.bz2"
+ "$pkgname.png")
+sha256sums=('ead1b9786741e26d37ff7c5185b7fe1e91f90f76ebed3785225312e323b7c7da'
+ '07a805928f5cf2b3351e2b9ff820ea69352ad80faad43311889ffbd5f62da872')
+
+prepare() {
+ gendesk -f --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make LDFLAGS=-lm
+}
+
+package() {
+ install -d "$pkgdir/usr/bin"
+ make -C "$pkgname-$pkgver" prefix=/usr DESTDIR="$pkgdir" install
+ install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
+ install -Dm644 "$pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/libre/vor/vor.png b/libre/vor/vor.png
new file mode 100644
index 000000000..0fbfc72d3
--- /dev/null
+++ b/libre/vor/vor.png
Binary files differ