diff options
author | Marco A Rojas | 2021-05-23 13:56:24 -0500 |
---|---|---|
committer | Marco A Rojas | 2021-05-23 13:56:24 -0500 |
commit | b14de5576ba465cf328824614e39897fc048f42f (patch) | |
tree | bbf627fbbdad09d0f3cb6de5ba83e25dc1c263ea /PKGBUILD | |
download | aur-b14de5576ba465cf328824614e39897fc048f42f.tar.gz |
First commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6afa881f9425 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Marco A Rojas <marco.rojas@zentek.com.mx> + +pkgbase='python-migra' +pkgname=('python-migra') +_module='migra' +pkgver='3.0.1621480950' +pkgrel=1 +pkgdesc="Like `diff` but for PostgreSQL schemas" +url="https://databaseci.com/docs/migra" +depends=('python' 'python-schemainspect' 'python-sqlbag') +makedepends=('python-setuptools') +license=('Unlicense') +arch=('any') +source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz") +sha256sums=('5fdce56fe7de79b17b7875250c1e90c645117cc8d358c5a43b38b815390a4445') + +build() { + cd "${srcdir}/${_module}-${pkgver}" + python setup.py build +} + +package() { + depends+=() + cd "${srcdir}/${_module}-${pkgver}" + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-migra/LICENSE" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} |