summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d40282d95b3fb6cf6616c2f033f1002112c24f7 (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: Kimiblock Moe

pkgname=python-amulet-compiler-version
pkgdesc="A tiny library to allow dependencies to require the same compiler"
url="https://github.com/Amulet-Team/Amulet-Compiler-Version"
license=("LicenseRef-Amulet-Team-License")
arch=(any)
pkgver=3.0.0
pkgrel=1
makedepends=(python-setuptools git python-wheel)
depends=(python)
source=(
	"git+https://github.com/Amulet-Team/Amulet-Compiler-Version.git#tag=${pkgver}"
)
md5sums=('800ecc9747df95f65954b3ed1e298a96')

function prepare() {
	cd "${srcdir}/Amulet-Compiler-Version"
	git submodule init
	git submodule update
}

function build() {
	cd "${srcdir}/Amulet-Compiler-Version"
	python setup.py build
}

function package() {
	cd "${srcdir}/Amulet-Compiler-Version"
	python setup.py install --root="$pkgdir" --optimize=1
}