[arch-commits] Commit in warzone2100/repos/community-x86_64 (PKGBUILD PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Tue Sep 3 07:57:39 UTC 2019
Date: Tuesday, September 3, 2019 @ 07:57:38
Author: lcarlier
Revision: 507254
archrelease: copy trunk to community-x86_64
Added:
warzone2100/repos/community-x86_64/PKGBUILD
(from rev 507253, warzone2100/trunk/PKGBUILD)
Deleted:
warzone2100/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 34 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-03 07:57:27 UTC (rev 507253)
+++ PKGBUILD 2019-09-03 07:57:38 UTC (rev 507254)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
-# Contributor: Angelo Theodorou <encelo at users.sourceforge.net>
-
-pkgname=warzone2100
-pkgver=3.2.3
-pkgrel=2
-pkgdesc="3D realtime strategy game on a future Earth"
-url="http://wz2100.net/"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('sdl2' 'glew' 'fribidi' 'openal' 'libvorbis' 'libtheora' 'physfs' 'ttf-dejavu' 'qt5-script' 'xorg-xrandr')
-makedepends=('gawk' 'flex' 'zip' 'unzip' 'asciidoc' 'mesa')
-source=("http://downloads.sourceforge.net/project/warzone2100/releases/${pkgver}/${pkgname}-${pkgver}.tar.xz")
-sha256sums=('fcab9e860203e7dacda6ee60384da490a9d44aeafc07aa31ff25f9c548be7582')
-
-build() {
- cd ${pkgname}-${pkgver}
-
- ./configure --prefix=/usr --with-distributor="ArchLinux"
-
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}
-
- make DESTDIR=${pkgdir} install
-}
Copied: warzone2100/repos/community-x86_64/PKGBUILD (from rev 507253, warzone2100/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-09-03 07:57:38 UTC (rev 507254)
@@ -0,0 +1,34 @@
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: Angelo Theodorou <encelo at users.sourceforge.net>
+
+pkgname=warzone2100
+pkgver=3.3.0
+pkgrel=1
+pkgdesc="3D realtime strategy game on a future Earth"
+url="https://wz2100.net/"
+arch=('x86_64')
+license=('GPL')
+depends=('sdl2' 'glew' 'fribidi' 'openal' 'libvorbis' 'libtheora' 'physfs' 'ttf-dejavu' 'qt5-script' 'xorg-xrandr')
+makedepends=('gawk' 'flex' 'zip' 'unzip' 'asciidoc' 'mesa' 'cmake')
+source=(https://github.com/Warzone2100/warzone2100/releases/download/${pkgver}/warzone2100-${pkgver}_src.tar.xz)
+sha256sums=('cc48c8128d17a499e833996470d843855389d9fc985c71f05be08901f33116e8')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+
+ cmake ../${pkgname} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DWZ_DISTRIBUTOR="ArchLinux"
+ make
+}
+
+package() {
+ cd build
+
+ make DESTDIR=${pkgdir} install
+}
More information about the arch-commits
mailing list