Package Details: freeciv-git r30957.e43360ff51-1

Git Clone URL: https://aur.archlinux.org/freeciv-git.git (read-only, click to copy)
Package Base: freeciv-git
Description: A multiuser clone of the famous Microprose game of Civilization
Upstream URL: http://www.freeciv.org/
Licenses: GPL-2.0-or-later
Conflicts: freeciv, freeciv-sdl2
Provides: freeciv
Submitter: rodrigo21
Maintainer: rodrigo21
Last Packager: rodrigo21
Votes: 22
Popularity: 0.000012
First Submitted: 2019-01-29 16:22 (UTC)
Last Updated: 2024-05-20 01:26 (UTC)

Latest Comments

FredBezies commented on 2022-03-14 09:09 (UTC) (edited on 2022-03-14 09:12 (UTC) by FredBezies)

Cleaned up PKGBUILD.

Note: Maybe you can add a conflict with freeciv-sdl2?

# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com>

_basename=freeciv
pkgname=freeciv-git
pkgver=r27338.1c9bb111ff
pkgrel=1
pkgdesc="A multiuser clone of the famous Microprose game of Civilization"
arch=('x86_64')
url="http://www.freeciv.org/"
license=('GPL2')
depends=('gtk3' 'gtk4' 'imagemagick' 'lua' 'sdl2_mixer')
makedepends=('python')
conflicts=('freeciv')
provides=('freeciv')
source=("git+https://github.com/freeciv/freeciv.git")
sha256sums=('SKIP')

pkgver() {
    cd ${_basename}

    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd ${_basename}

    ./autogen.sh \
        --prefix=/usr \
        --sysconfdir=/etc \
        --enable-fcdb=sqlite3 \
        --enable-client=all \
        --enable-gitrev \
        --enable-aimodules=yes \
        --enable-shared \
        --enable-sdl-mixer \
        --enable-fcmp=all \
        --enable-sys-lua

    make
}

package() {
    cd ${_basename}

    make DESTDIR="${pkgdir}" install
}

Slash commented on 2017-07-08 22:29 (UTC)

@greenmanalishi: Since it's a different package name, you have to add freeciv-git as a new package, then use "Submit Request" to merge this one into the new one (or just request that this one be deleted).

greenmanalishi commented on 2017-07-07 12:57 (UTC) (edited on 2017-07-07 13:50 (UTC) by greenmanalishi)

Can you use something like this: https://pastebin.com/d94xFDRE ? or maybe better: https://pastebin.com/buxC2t2d It needs pkgver function.

greenmanalishi commented on 2017-07-07 11:30 (UTC)

I think this is obsolete and they use github now.