Package Base Details: eduke32-git

Git Clone URL: https://aur.archlinux.org/eduke32-git.git (read-only, click to copy)
Submitter: parkerlreed
Maintainer: parkerlreed
Last Packager: prg
Votes: 5
Popularity: 0.000000
First Submitted: 2020-04-15 11:56 (UTC)
Last Updated: 2020-06-13 18:04 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

parkerlreed commented on 2020-04-15 11:57 (UTC)

Thanks, updated over here https://aur.archlinux.org/packages/eduke32-git

mjr4077au commented on 2020-04-15 09:12 (UTC)

Proposed PKGBUILD file to save you the leg-work.

# Maintainer: Parker Reed <parker.l.reed@gmail.com>
# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
# Contributors: Arkham, Christoph Zeiler, JD Steffen

pkgname=eduke32-git
pkgver=r8865_c4e58ebe9
pkgrel=1
pkgdesc="Advanced Duke Nukem 3D source port - git version"
arch=('i686' 'x86_64')
url="http://eduke32.com"
license=('GPL' 'custom: BUILD')
depends=('sdl2_mixer' 'libvpx' 'gtk2')
makedepends=('subversion' 'gendesk' 'glu')
makedepends_i686=('nasm')
optdepends=('timidity-freepats: a free soundfont for music'
            'fluidsynth: alternative midi sequencer'
            'eduke32-shareware-episode: Duke Nukem 3D Demo')
conflicts=('eduke32' 'eduke32-svn')
provides=('eduke32' 'eduke32-svn')
install=$pkgname.install
source=("$pkgname::git+https://voidpoint.io/terminx/eduke32"
        "eduke32.png")
sha256sums=('SKIP'
            'b55a264b4682afabd49587d700d4c85ce6c2e7af7ce2764dd217ebe167549863')

pkgver() {
  cd $pkgname
  echo "r$(git rev-list HEAD --count)_$(git rev-parse HEAD | cut -c 1-9)"
}

prepare() {
  gendesk -f -n --pkgname=${pkgname/-git} --pkgdesc="${pkgdesc/ -*}" \
    --name=EDuke32 --genericname="${pkgdesc/ -*}" --comment=$pkgdesc \
    --categories="Game;ActionGame"
}

build() {
  cd $pkgname
  make debug="$CFLAGS" SDL_TARGET=2 VC_REV=${pkgver/r}
}

package() {
  cd $pkgname
  install -d "$pkgdir"/usr/bin
  install -m755 eduke32 mapster32 "$pkgdir"/usr/bin
  install -Dm644 package/common/buildlic.txt "$pkgdir"/usr/share/licenses/$pkgname/buildlic.txt
  install -Dm644 ../eduke32.png "$pkgdir"/usr/share/pixmaps/eduke32.png
  install -Dm644 ../eduke32.desktop "$pkgdir"/usr/share/applications/eduke32.desktop
}

mjr4077au commented on 2020-04-14 08:44 (UTC)

Just a heads up, this requires re-basing on Git as the SVN repository is now read-only.

https://voidpoint.io/terminx/eduke32

parkerlreed commented on 2018-03-28 15:04 (UTC)

I'll keep an eye on this. Right now builds fine here.

<deleted-account> commented on 2017-08-25 08:24 (UTC)

Hi, the .desktop file should be created in the prepare() function. It works just fine for me using makepkg / extra-x86_64-build.

Vaporeon commented on 2017-08-25 07:19 (UTC)

Hi. This currently fails complaining about a missing .desktop file.