summaryrefslogtreecommitdiff
path: root/lbreakouthd
diff options
context:
space:
mode:
Diffstat (limited to 'lbreakouthd')
-rw-r--r--lbreakouthd/.SRCINFO16
-rw-r--r--lbreakouthd/PKGBUILD30
2 files changed, 46 insertions, 0 deletions
diff --git a/lbreakouthd/.SRCINFO b/lbreakouthd/.SRCINFO
new file mode 100644
index 0000000..99cf5c9
--- /dev/null
+++ b/lbreakouthd/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = lbreakouthd
+ pkgdesc = Scalable 16:9 remake of LBreakout2
+ pkgver = 1.0.7
+ pkgrel = 1
+ url = http://lgames.sourceforge.net/LBreakoutHD/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ depends = sdl2
+ depends = sdl2_ttf
+ depends = sdl2_image
+ depends = sdl2_mixer
+ source = https://downloads.sourceforge.net/project/lgames/lbreakouthd/lbreakouthd-1.0.7.tar.gz
+ sha256sums = 48208df9ed194ce1ec3a95b8d4bcdebfd4bd56c9ea9db9c5d3689e802adbf634
+
+pkgname = lbreakouthd
diff --git a/lbreakouthd/PKGBUILD b/lbreakouthd/PKGBUILD
new file mode 100644
index 0000000..f23c8e3
--- /dev/null
+++ b/lbreakouthd/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
+#
+# Upstream: https://git.metalpunks.info/arch-ports
+
+pkgname=lbreakouthd
+pkgver=1.0.7
+pkgrel=1
+pkgdesc="Scalable 16:9 remake of LBreakout2"
+arch=('i686' 'x86_64')
+url="http://lgames.sourceforge.net/LBreakoutHD/"
+license=('GPL3')
+depends=('sdl2' 'sdl2_ttf' 'sdl2_image' 'sdl2_mixer')
+source=("https://downloads.sourceforge.net/project/lgames/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('48208df9ed194ce1ec3a95b8d4bcdebfd4bd56c9ea9db9c5d3689e802adbf634')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|-Wno-format||g' configure
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ CFLAGS="${CFLAGS}" ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}/" install
+}