diff options
author | Phil Schaf | 2015-06-08 20:15:23 +0200 |
---|---|---|
committer | Phil Schaf | 2015-06-08 20:15:23 +0200 |
commit | 7262a6a22596ba0d41fd5c99d04d4d4849f6cd45 (patch) | |
tree | 87e4845809730ef3ec0b622889b1a1935d325e7b | |
download | aur-7262a6a22596ba0d41fd5c99d04d4d4849f6cd45.tar.gz |
aur4 migration
-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..7331cc381d3f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-schema + pkgdesc = Python module to validate and convert data structures. + pkgver = 0.3.1 + pkgrel = 1 + url = https://github.com/halst/schema + arch = i686 + arch = x86_64 + license = MIT + depends = python + source = https://pypi.python.org/packages/source/s/schema/schema-0.3.1.tar.gz + sha1sums = 732ef97af28bcc8667ab3cbb1e8c1ac2668623d4 + +pkgname = python-schema + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a8b6fe5882a2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,17 @@ +_name=schema +pkgname="python-$_name" +pkgver=0.3.1 +pkgrel=1 +pkgdesc='Python module to validate and convert data structures.' +arch=('i686' 'x86_64') +url="https://github.com/halst/$_name" +license=('MIT') +depends=('python') +source=("https://pypi.python.org/packages/source/s/$_name/$_name-$pkgver.tar.gz") +sha1sums=('732ef97af28bcc8667ab3cbb1e8c1ac2668623d4') + +package() { + cd "$srcdir/$_name-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 {,"$pkgdir/usr/share/licenses/$pkgname/"}LICENSE-MIT +}
\ No newline at end of file |