summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7d7c02047c021bf44722c9d1793193be2c33f97d (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: Jonathan Knapp <jaknapp8+aur@gmail.com>
# URL: https://github.com/caligari87/ObAddon
# Upstream: https://github.com/caligari87/ObAddon

pkgname=('obaddon-git')
pkgver=2020.04.04.10.g25917894
pkgrel=1
pkgdesc="Community-built prefabs and other enhancements for Oblige 7.70"
arch=('any')
url='https://github.com/caligari87/ObAddon'
license=('GPLv3')
depends=('oblige')
makedepends=('zip' 'make')
optdepends=('gzdoom' 'qzdl')
provides=('obaddon')
# conflicts=()
source=("$pkgname::git+https://github.com/caligari87/ObAddon.git")
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags | sed 's/^v//;s/-/./g'
}

package() {
  cd "$srcdir/$pkgname/scripts"
  make
  install -Dm 744 "build/obaddon.pk3" "$pkgdir/usr/share/oblige/addons/obaddon.pk3";
}