New package: xrick-021212
This commit is contained in:
parent
4ed3fa217f
commit
18d7e48a76
4
srcpkgs/xrick/files/xrick-launcher
Normal file
4
srcpkgs/xrick/files/xrick-launcher
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd /usr/share/xrick
|
||||
exec xrick
|
15
srcpkgs/xrick/patches/flags.patch
Normal file
15
srcpkgs/xrick/patches/flags.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- Makefile.orig 2017-06-02 21:17:59.554162598 -0500
|
||||
+++ Makefile 2017-06-02 21:18:27.781905157 -0500
|
||||
@@ -71,10 +71,8 @@
|
||||
all:
|
||||
@echo "ROOTDIR=$(ROOTDIR)" > Makefile.global
|
||||
@echo "XOBJ=$(XOBJ)" >> Makefile.global
|
||||
- @echo "CFLAGS=-g -ansi -pedantic -Wall -W -O2 -I $(ROOTDIR)/include $(shell sdl-config --cflags)" >> Makefile.global
|
||||
- @echo "LDFLAGS=-lz $(shell sdl-config --libs)" >> Makefile.global
|
||||
- @echo "CC=gcc" >> Makefile.global
|
||||
- @echo "CPP=gcc -E" >> Makefile.global
|
||||
+ @echo "CFLAGS+=-g -ansi -pedantic -Wall -W -O2 -I $(ROOTDIR)/include $(shell sdl-config --cflags)" >> Makefile.global
|
||||
+ @echo "LDFLAGS+=-lz $(shell sdl-config --libs)" >> Makefile.global
|
||||
$(MAKE) -C src all
|
||||
|
||||
clean:
|
22
srcpkgs/xrick/template
Normal file
22
srcpkgs/xrick/template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'xrick'
|
||||
pkgname=xrick
|
||||
version=021212
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_use_env=1
|
||||
makedepends="SDL-devel zlib-devel"
|
||||
short_desc="Clone of Rick Dangerous"
|
||||
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
||||
license="GPL-ish"
|
||||
restricted=yes
|
||||
homepage="http://www.bigorno.net/xrick/"
|
||||
distfiles="https://www.bigorno.net/xrick/xrick-${version}.tgz"
|
||||
checksum=aa8542120bec97a730258027a294bd16196eb8b3d66134483d085f698588fc2b
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/share/$pkgname
|
||||
vinstall data.zip 0644 usr/share/$pkgname
|
||||
vbin xrick
|
||||
vbin ${FILESDIR}/xrick-launcher
|
||||
vlicense README
|
||||
}
|
Loading…
Reference in New Issue
Block a user