blob: 2e12d3f4d9670a85aa562f6e151017e4a9805904 (
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
|
# Maintainer: Katherine Vance <katvance64@gmail.com>
# :vim
pkgname=ambuild-git
pkgver=2.2.r8.g6ad11a1
pkgrel=2.2
pkgdesc="Allied Modders build system for sourcepawn and sourcemode extensions."
arch=("i386" "x86_64")
url="https://github.com/freylint/ambuild-aur"
license=('BSD-3-Clause')
depends=("python3" "gcc" "clang")
makedepends=("python-setuptools")
sha256sums=('SKIP')
provides=("ambuild" "ambuild2")
replaces=("ambuild" "ambuild2")
source=("$pkgname::git+https://github.com/alliedmodders/ambuild.git")
pkgver() {
cd "$pkgname"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build () {
cd "$pkgname"
python3 setup.py build
}
package() {
cd "$pkgname"
python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|