desktop/python2-apsw/PKGBUILD

23 lines
692 B
Bash
Raw Normal View History

2013-08-24 19:36:19 +08:00
# Maintainer: Michael Haesel <michael.haesel@gmail.com>
pkgname=python2-apsw
2014-04-11 18:30:23 +08:00
pkgver=3.8.4.3
2013-08-24 19:36:19 +08:00
pkgrel=1
pkgdesc="Python wrapper for SQLite"
2014-04-11 18:30:23 +08:00
arch=('x86_64')
url="https://github.com/rogerbinns/apsw"
2013-08-24 19:36:19 +08:00
license=('MIT')
depends=('python2' 'sqlite3')
2014-04-11 18:30:23 +08:00
source=("https://github.com/rogerbinns/apsw/releases/download/${pkgver}/apsw-${pkgver}-r1.zip"
2013-08-24 19:36:19 +08:00
'LICENSE')
2014-04-11 18:30:23 +08:00
sha256sums=('f243d5318ce02cf4d36c18ce8dc23f822159c13cdd0779cb9b5f7fc42f298072'
2013-08-24 19:36:19 +08:00
'511345641f72270dc3e1867f37cbb6ac16b140a1ad4ab0bccbf46029ba007404')
package() {
2014-04-11 18:30:23 +08:00
cd apsw-${pkgver}-r1
2013-08-24 19:36:19 +08:00
python2 setup.py install --root="${pkgdir}/"
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}