[arch-commits] Commit in bzflag/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat Apr 25 16:42:34 UTC 2020


    Date: Saturday, April 25, 2020 @ 16:42:34
  Author: foutrelis
Revision: 381570

archrelease: copy trunk to staging-x86_64

Added:
  bzflag/repos/staging-x86_64/
  bzflag/repos/staging-x86_64/PKGBUILD
    (from rev 381569, bzflag/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: bzflag/repos/staging-x86_64/PKGBUILD (from rev 381569, bzflag/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-04-25 16:42:34 UTC (rev 381570)
@@ -0,0 +1,29 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+
+pkgname=bzflag
+pkgver=2.4.18
+pkgrel=3
+pkgdesc='Multiplayer 3D tank battle game'
+url='https://bzflag.org/'
+license=('LGPL')
+arch=('x86_64')
+depends=('curl' 'glew' 'glu' 'sdl2' 'c-ares')
+source=("https://download.bzflag.org/bzflag/source/${pkgver}/bzflag-${pkgver}.tar.bz2")
+sha256sums=('9d0d512f3a09a207ab399a8dc4807224564cdc7a9346b702fec80d5b7918bfbe')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure --prefix=/usr
+	make
+	cd misc
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 misc/bzflag.desktop "${pkgdir}"/usr/share/applications/bzflag.desktop
+	install -Dm644 data/bzflag-48x48.png "${pkgdir}"/usr/share/pixmaps/bzflag-48x48.png
+}



More information about the arch-commits mailing list