summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b709247973d0fbf7464a37c783e9c71b4952ddd2 (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
30
31
32
33
34
# Maintainer: Adrian Siekierka <kontakt at asie dot pl>

pkgname=kevedit
pkgver=1.2.1
pkgrel=2
pkgdesc="ZZT world editor"
arch=("i686" "x86_64" "aarch64")
url="https://github.com/cknave/kevedit"
license=("GPL")
depends=("sdl2")
makedepends=("cdrtools")
optdepends=("dosbox: in-game world testing support")
options=("debug")
source=("https://github.com/cknave/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=("7eb3277b8642a508eb48506da2e135ffe1708a0dcc855e294ede465a6f118d65")

build() {
  cd "$pkgname"-"$pkgver"

  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --with-dosbox

  make
}

package(){
  cd "$pkgname"-"$pkgver"

  DESTDIR="$pkgdir" make install

  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING legal.md
}