diff options
author | Josip Janzic | 2019-10-27 21:21:25 +0100 |
---|---|---|
committer | Josip Janzic | 2019-10-27 21:21:25 +0100 |
commit | ac27d7d86dbba0cdc1d217250b58c28fe1f701d9 (patch) | |
tree | 09b5c20159a51d1a587785af11d75b52fc559c08 | |
download | aur-ac27d7d86dbba0cdc1d217250b58c28fe1f701d9.tar.gz |
Initial
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 27 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f532fb810f75 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = dibi-git + pkgdesc = Lightweight GUI for MySQL with performance in mind + pkgver = r10.4fbb81d + pkgrel = 1 + url = https://github.com/janza/dibi + arch = i686 + arch = x86_64 + arch = armv6h + arch = armv7h + arch = arm + arch = aarch64 + license = MIT + depends = python-mysqlclient + depends = python-pyqt5 + source = dibi::git+https://github.com/janza/dibi.git + sha1sums = SKIP + +pkgname = dibi-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..746fd4bfd355 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +src +pkg +dibi +*.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..82d7ae362385 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: josip <me@josip.dev> +pkgname=dibi-git +_pkgname=dibi +pkgver=r10.4fbb81d +pkgrel=1 +pkgdesc="Lightweight GUI for MySQL with performance in mind" +arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'arm' 'aarch64') +url="https://github.com/janza/dibi" +license=('MIT') +depends=('python-mysqlclient' 'python-pyqt5') +source=("${pkgname%-*}::git+https://github.com/janza/dibi.git") +sha1sums=("SKIP") + +pkgver() { + cd "$srcdir/${_pkgname}" || exit 1 + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/$_pkgname" || exit 1 + python setup.py build +} + +package() { + cd "$srcdir/$_pkgname" + python setup.py install --root="$pkgdir" --optimize=1 +} |