initial import
This commit is contained in:
20
python-monotonic/PKGBUILD
Normal file
20
python-monotonic/PKGBUILD
Normal file
@@ -0,0 +1,20 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
_realpkgname=monotonic
|
||||
pkgname=python-$_realpkgname
|
||||
pkgver=1.5
|
||||
pkgrel=2
|
||||
pkgdesc="An implementation of time.monotonic() for Python."
|
||||
url='https://pypi.python.org/pypi/monotonic'
|
||||
license=('Apache-2.0')
|
||||
arch=('any')
|
||||
depends=('python')
|
||||
makedepends=('python-setuptools')
|
||||
source=("$_realpkgname-$pkgver.tar.gz::https://github.com/atdt/monotonic/archive/$pkgver.tar.gz")
|
||||
sha512sums=('acee69916a82059a027e7bcc03c58deb5ce773a1aff45938699cf09c3ab49b7827c2c01b431593ed76ae49009728c3d52923267eccfc7e15390f8730351a39e2')
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_realpkgname-$pkgver"
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user