summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e58dd2754d60ea96cd1bd85fe6ecd35a4325c036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Jan Cholasta <grubber at grubber cz>
# Contributor: Christoph Zeiler <rabyte*gmail>

pkgname=doom1-wad
pkgver=1.9
pkgrel=3
pkgdesc="The Doom shareware IWAD (game data)"
arch=('any')
url="https://web.archive.org/web/20100920205115/http://www.idsoftware.com/games/doom/doom-ultimate"
license=('custom')
makedepends=('unzip')
source=(ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/idstuff/doom/doom19s.zip \
        LICENSE)
sha256sums=('cacf0142b31ca1af00796b4a0339e07992ac5f21bc3f81e7532fe1b5e1b486e6'
            'fb21ac76f0192ef13c2c88b4d71b64a494552601e8fc91afcd2e8e2306c79c63')

prepare() {
  cat DOOMS_19.1 DOOMS_19.2 > DOOMS_19.EXE
  unzip -o DOOMS_19.EXE DOOM1.WAD
}

package() {
  install -Dm644 DOOM1.WAD "$pkgdir/usr/share/games/doom/doom1.wad"

  mkdir -p "$pkgdir/usr/share/doom"
  ln -s /usr/share/games/doom/doom1.wad "$pkgdir/usr/share/doom/doom1.wad"

  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}