~alpine/aports

3 2

[alpine-aports] [PATCH 1/2] testing/sdl2_net: new aport

Details
Message ID
<20180722140421.4766-1-raschi.alex@gmail.com>
Sender timestamp
1532268260
DKIM signature
missing
Download raw message
Patch: +35 -0
From: Alex Raschi <raschi.alex@gmail.com>

http://www.libsdl.org/projects/SDL_net/
A small sample cross-platform networking library
---
 testing/sdl2_net/APKBUILD | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 testing/sdl2_net/APKBUILD

diff --git a/testing/sdl2_net/APKBUILD b/testing/sdl2_net/APKBUILD
new file mode 100644
index 0000000000..446dbbbccf
--- /dev/null
+++ b/testing/sdl2_net/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor:
+# Maintainer:
+pkgname=sdl2_net
+pkgver=2.0.1
+pkgrel=0
+_pkgname=SDL2_net
+pkgdesc="A small sample cross-platform networking library"
+url="http://www.libsdl.org/projects/SDL_net/"
+arch="all"
+license="zlib"
+depends=""
+makedepends="sdl2-dev"
+subpackages="$pkgname-dev"
+options="!check" # no test suite
+source="http://www.libsdl.org/projects/SDL_net/release/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+	cd "$builddir"
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var
+	make
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d27faee3cddc3592dae38947e6c1df0cbaa95f82fde9c87db6d11f6312d868cea74f6830ad07ceeb3d0d75e9424cebf39e54fddf9a1147e8d9e664609de92b7a  SDL2_net-2.0.1.tar.gz"
-- 
2.18.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] [PATCH 2/2] testing/chocolate-doom: new aport

Details
Message ID
<20180722140421.4766-2-raschi.alex@gmail.com>
In-Reply-To
<20180722140421.4766-1-raschi.alex@gmail.com> (view parent)
Sender timestamp
1532268261
DKIM signature
missing
Download raw message
Patch: +44 -0
From: Alex Raschi <raschi.alex@gmail.com>

https://www.chocolate-doom.org
Portable release of Doom, Heretic, Hexen, and Strife
---
 testing/chocolate-doom/APKBUILD | 44 +++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 testing/chocolate-doom/APKBUILD

diff --git a/testing/chocolate-doom/APKBUILD b/testing/chocolate-doom/APKBUILD
new file mode 100644
index 0000000000..fc74a7f2ce
--- /dev/null
+++ b/testing/chocolate-doom/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor:
+# Maintainer:
+pkgname=chocolate-doom
+pkgver=3.0.0
+pkgrel=0
+pkgdesc="Portable release of Doom, Heretic, Hexen, and Strife"
+url="https://www.chocolate-doom.org"
+arch="all"
+license="GPL-2.0-or-later"
+depends=""
+makedepends="sdl2-dev sdl2_net-dev sdl2_mixer-dev py-imaging libpng-dev
+             libsamplerate-dev"
+subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
+options="!check" # no test suite
+source="https://www.chocolate-doom.org/downloads/$pkgver/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+	cd "$builddir"
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var
+	make
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+bashcomp() {
+	pkgdesc="Bash completion for $pkgname"
+	depends=""
+	install_if="bash-completion $pkgname=$pkgver-r$pkgrel"
+
+	mkdir -p "$subpkgdir"/usr/share
+	mv "$pkgdir"/usr/share/bash-completion "$subpkgdir"/usr/share/
+}
+
+sha512sums="41f235c0d84ef21070636ad0610e97898dfd366fae7f9244bd2aebf8974db98dcf55f70bcab2f93589b9bf31dd421db32e8af88e0f8e0a655d2b9f1d4ead2afd  chocolate-doom-3.0.0.tar.gz"
-- 
2.18.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] [PATCH v2 1/2] testing/sdl2_net: new aport

Alex Raschi
Details
Message ID
<20180808084436.3544-1-raschi.alex@gmail.com>
In-Reply-To
<20180722140421.4766-1-raschi.alex@gmail.com> (view parent)
Sender timestamp
1533717876
DKIM signature
missing
Download raw message
Patch: +34 -0
http://www.libsdl.org/projects/SDL_net/
A small sample cross-platform networking library
---
Changes v1 -> v2:
 - set maintainer

 testing/sdl2_net/APKBUILD | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 testing/sdl2_net/APKBUILD

diff --git a/testing/sdl2_net/APKBUILD b/testing/sdl2_net/APKBUILD
new file mode 100644
index 0000000000..983d2da1c1
--- /dev/null
+++ b/testing/sdl2_net/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Alex Raschi <raschi.alex@gmail.com>
+pkgname=sdl2_net
+pkgver=2.0.1
+pkgrel=0
+_pkgname=SDL2_net
+pkgdesc="A small sample cross-platform networking library"
+url="http://www.libsdl.org/projects/SDL_net/"
+arch="all"
+license="zlib"
+depends=""
+makedepends="sdl2-dev"
+subpackages="$pkgname-dev"
+options="!check" # no test suite
+source="http://www.libsdl.org/projects/SDL_net/release/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+	cd "$builddir"
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var
+	make
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d27faee3cddc3592dae38947e6c1df0cbaa95f82fde9c87db6d11f6312d868cea74f6830ad07ceeb3d0d75e9424cebf39e54fddf9a1147e8d9e664609de92b7a  SDL2_net-2.0.1.tar.gz"
-- 
2.18.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] [PATCH v2] testing/chocolate-doom: new aport

Alex Raschi
Details
Message ID
<20180808085107.4461-1-raschi.alex@gmail.com>
In-Reply-To
<20180722140421.4766-2-raschi.alex@gmail.com> (view parent)
Sender timestamp
1533718267
DKIM signature
missing
Download raw message
Patch: +43 -0
https://www.chocolate-doom.org
Portable release of Doom, Heretic, Hexen, and Strife
---
Changes v1 -> v2:
 - set maintainer

 testing/chocolate-doom/APKBUILD | 43 +++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 testing/chocolate-doom/APKBUILD

diff --git a/testing/chocolate-doom/APKBUILD b/testing/chocolate-doom/APKBUILD
new file mode 100644
index 0000000000..ae7a6625ff
--- /dev/null
+++ b/testing/chocolate-doom/APKBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Alex Raschi <raschi.alex@gmail.com>
+pkgname=chocolate-doom
+pkgver=3.0.0
+pkgrel=0
+pkgdesc="Portable release of Doom, Heretic, Hexen, and Strife"
+url="https://www.chocolate-doom.org"
+arch="all"
+license="GPL-2.0-or-later"
+depends=""
+makedepends="sdl2-dev sdl2_net-dev sdl2_mixer-dev py-imaging libpng-dev
+             libsamplerate-dev"
+subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
+options="!check" # no test suite
+source="https://www.chocolate-doom.org/downloads/$pkgver/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+	cd "$builddir"
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var
+	make
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+bashcomp() {
+	pkgdesc="Bash completion for $pkgname"
+	depends=""
+	install_if="bash-completion $pkgname=$pkgver-r$pkgrel"
+
+	mkdir -p "$subpkgdir"/usr/share
+	mv "$pkgdir"/usr/share/bash-completion "$subpkgdir"/usr/share/
+}
+
+sha512sums="41f235c0d84ef21070636ad0610e97898dfd366fae7f9244bd2aebf8974db98dcf55f70bcab2f93589b9bf31dd421db32e8af88e0f8e0a655d2b9f1d4ead2afd  chocolate-doom-3.0.0.tar.gz"
-- 
2.18.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---