blob: 06e4948d8422da341c058fcdb93e6a6725a9e03d (
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
|
# Maintainer: arkhan <arkhan@disroot.org>
pkgname=format-sql
pkgver=0.12.0
pkgrel=1
pkgdesc="Makes your SQL readable."
arch=('any')
license=('BSD')
depends=("python" "python-attrs")
makedepends=("python")
conflicts=("python-${_pkgname}-git")
url='https://github.com/paetzke/format-sql'
source=("https://github.com/paetzke/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('65fde3b80da1bd4063e2196676620535')
build() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py install --prefix=/usr --root "${pkgdir}" || return 1
}
# vim:set ts=2 sw=2 et:
|