summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaltlgin2020-07-31 12:39:24 +1200
committercaltlgin2020-07-31 12:39:24 +1200
commit1b5e4dc609afb185601d211e87d834d07a4464b0 (patch)
treed12a56139f4d12d8885b73bf0d24fee6b5eeb4a0
downloadaur-1b5e4dc609afb185601d211e87d834d07a4464b0.tar.gz
Add to AUR
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD30
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2afc7d72d74
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = python-sqliteschema
+ pkgdesc = Dump table schema of a SQLite database file
+ pkgver = 1.0.1
+ pkgrel = 1
+ url = https://github.com/thombashi/sqliteschema
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python-mbstrdecoder
+ depends = python-tabledata
+ depends = python-typepy
+ provides = sqliteschema
+ source = https://files.pythonhosted.org/packages/source/s/sqliteschema/sqliteschema-1.0.1.tar.gz
+ sha256sums = cc1e03208839b7ae445f71f23370b3bee4946256c6c9c477fbe0b4f477431dc1
+
+pkgname = python-sqliteschema
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5d95442a965
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
+# Contributor: Florian Wittmann
+
+_pkgname=sqliteschema
+pkgname=python-${_pkgname}
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Dump table schema of a SQLite database file'
+arch=('any')
+url='https://github.com/thombashi/sqliteschema'
+license=('MIT')
+depends=('python-mbstrdecoder' 'python-tabledata' 'python-typepy')
+makedepends=('python-setuptools')
+provides=("${_pkgname}")
+source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('cc1e03208839b7ae445f71f23370b3bee4946256c6c9c477fbe0b4f477431dc1')
+
+build() {
+ cd "${_pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 'README.rst' "${pkgdir}/usr/share/doc/${_pkgname}/README.rst"
+ install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et: