initial import
This commit is contained in:
25
python-pysqlite3/PKGBUILD
Normal file
25
python-pysqlite3/PKGBUILD
Normal file
@@ -0,0 +1,25 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=python-pysqlite3
|
||||
_pkgname=pysqlite3
|
||||
pkgver=0.5.4
|
||||
pkgrel=1
|
||||
pkgdesc="SQLite3 DB-API 2.0 driver for Python"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://github.com/coleifer/pysqlite3'
|
||||
license=('zlib')
|
||||
depends=('python' 'sqlite')
|
||||
makedepends=('python-setuptools')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/coleifer/pysqlite3/archive/refs/tags/0.5.4.tar.gz")
|
||||
sha512sums=('59a80166b31ca6fb67b4a432fbe12e8b8edbbc54de151165ed26df81e29cf271feddc1ff1ec841579a54c7816ead08ce18aab97f451b3e6e6e29aa8035811215')
|
||||
|
||||
build() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
python setup.py install --root="$pkgdir/"
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
}
|
||||
Reference in New Issue
Block a user