summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b7793621970ea9a79de0abb7a48bfe3c67a0164 (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
# Maintainer: Daniel Jenssen <daerandin@gmail.com>
pkgname=sh2_mp_ai_enabler
pkgver=0.3.1
pkgrel=1
pkgdesc="Stronghold 2 Multiplayer AI Enabler"
arch=('x86_64')
url="https://gitlab.com/Daerandin/sh2_mp_ai_enabler"
license=('GPL3')
depends=()
optdepends=()
options=('strip')
source=(https://gitlab.com/Daerandin/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz)
validpgpkeys=('40EB5B887AF9E9AB68C06179CCDE95DE8A5C8CC6')
sha256sums=('77e02f5ffe7fc23ab20ebde862fd30088fbcef8ac0e42c108f26afebbd365ed9')

build() {
  cd "$pkgname-$pkgver/src"
  make
}

package() {
  cd "$pkgname-$pkgver/src"
  mkdir -p "$pkgdir/usr/bin"
  install -m 755 "sh2_mp_ai_enabler" "$pkgdir/usr/bin/"
}