diff options
author | Gleb Liutsko | 2022-06-25 23:06:21 +0400 |
---|---|---|
committer | Gleb Liutsko | 2022-06-25 23:06:21 +0400 |
commit | 7edac43cff701865654469030e6b33168886e36b (patch) | |
tree | f87dbb6d81af73d7222e7bd5adb65c034cf33738 | |
download | aur-7edac43cff701865654469030e6b33168886e36b.tar.gz |
Version 1.0.0a23
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..30429aff9a02 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = mssql-scripter + pkgdesc = Command line experience for scripting SQL Server databases. + pkgver = 1.0.0a23 + pkgrel = 1 + url = https://github.com/microsoft/mssql-scripter + arch = any + license = MIT + makedepends = python-setuptools + depends = python + depends = openssl-1.0 + source = https://github.com/microsoft/mssql-scripter/archive/refs/tags/v1.0.0a23.zip + sha256sums = 7e673e01442b39a06b3ccb9f72eb7659549f0a822b0927451ce610102382c83a + +pkgname = mssql-scripter diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fc464154157e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Gleb Liutsko <gleb@liutsko.ru> + +pkgname=mssql-scripter +pkgver=1.0.0a23 +pkgrel=1 +pkgdesc='Command line experience for scripting SQL Server databases.' +url='https://github.com/microsoft/mssql-scripter' +license=('MIT') + +arch=('any') +depends=('python' 'openssl-1.0') +makedepends=('python-setuptools') + +source=("https://github.com/microsoft/${pkgname}/archive/refs/tags/v${pkgver}.zip") +sha256sums=('7e673e01442b39a06b3ccb9f72eb7659549f0a822b0927451ce610102382c83a') + +build() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 + + rm -v "$pkgdir/usr/bin/mssql-scripter.bat" +} |