summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2e765183fb0373e9b3f9f92ddcdee26d32aba7fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Geno <geno+dev@fireorbit.de>

pkgname=python-magcode-core
_pkgname=py-magcode-core
pkgver=1.4.13
pkgrel=1
pkgdesc="MAG Code Core utility module"
arch=('any')
url="https://github.com/grantma/py-magcode-core"
license=('MIT')
depends=('python3')
source=("https://github.com/grantma/${_pkgname}/archive/v$pkgver.zip")
sha256sums=('470367b6c54bd306051462b4dd1eda8078f2b29538e92cd83eb3a19dc65a5e11')

build () {
  cd ${srcdir}/${_pkgname}-${pkgver}
  python setup.py build
}

package() {
  cd ${srcdir}/${_pkgname}-${pkgver}
  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}