summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2d463b4d1e461373875fe30be1cb1b804455760d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Jose Riha <jose1711 gmail com>

pkgname=sqlcrush-git
_pkgname=sqlcrush
pkgver=r26.502a583
pkgrel=2
pkgdesc="console based database editor"
url="https://github.com/coffeeandscripts/sqlcrush"
depends=('python-sqlalchemy')
makedepends=('git' 'python-setuptools')
conflicts=('sqlcrush')
license=('GPL')
arch=('any')
source=("${pkgname}"::'git+https://github.com/coffeeandscripts/sqlcrush.git')
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/${pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd ${srcdir}/${pkgname}
  python setup.py install --root=${pkgdir}
}

# vim:set ts=2 sw=2 et: