blob: f983a1e8c6d430fc28e97e9696763aaab9c3f951 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Maintainer: Adrián Pérez de Castro <aperez@igalia.com>
pkgname='python-xerox'
pkgdesc='Simple copy+paste module for Python'
pkgver='0.4.1'
pkgrel='1'
url='https://github.com/kennethreitz/xerox'
license=('custom:MIT')
arch=('any')
depends=('xclip' 'python3')
source=("${url}/archive/v${pkgver}.tar.gz")
sha512sums=('39724b619d12af4447d88ba48e188b329a6cee8c82617a78b6074be40bb87775213e5c822f33d540c83cf104eb84a881d85eabec1b1233c7738f5c7f708a5791')
package () {
cd "xerox-${pkgver}"
python3 setup.py install --optimize=1 --root="${pkgdir}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|