diff options
author | Adrian Perez de Castro | 2016-09-08 15:29:10 +0300 |
---|---|---|
committer | Adrian Perez de Castro | 2016-09-08 15:29:10 +0300 |
commit | b74ffafe67391db48dd1f8a43990ea7a9559aa8a (patch) | |
tree | 09026c5fe147e2554bfbe408d1a8bad116f6a47a | |
download | aur-b74ffafe67391db48dd1f8a43990ea7a9559aa8a.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..492c09df395a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-xerox + pkgdesc = Simple copy+paste module for Python + pkgver = 0.4.1 + pkgrel = 1 + url = https://github.com/kennethreitz/xerox + arch = any + license = custom:MIT + depends = xclip + depends = python3 + source = https://github.com/kennethreitz/xerox/archive/v0.4.1.tar.gz + sha512sums = 39724b619d12af4447d88ba48e188b329a6cee8c82617a78b6074be40bb87775213e5c822f33d540c83cf104eb84a881d85eabec1b1233c7738f5c7f708a5791 + +pkgname = python-xerox + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f983a1e8c6d4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" +} |