diff options
author | kyechou | 2020-05-08 07:15:04 -0500 |
---|---|---|
committer | kyechou | 2020-05-08 07:15:04 -0500 |
commit | 518384a6060e002e87fa75d96c17ca31dc35d526 (patch) | |
tree | b69212817f497ffcbed56b8d55f1193827c30f50 | |
download | aur-518384a6060e002e87fa75d96c17ca31dc35d526.tar.gz |
Release 1.7.0
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0f0ae3de767a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-laspy + pkgdesc = A pythonic interface for .LAS LIDAR files matching specification 1.0-1.4 + pkgver = 1.7.0 + pkgrel = 1 + url = https://github.com/laspy/laspy + arch = any + license = custom + makedepends = git + makedepends = python-setuptools + depends = python + source = https://github.com/laspy/laspy/archive/1.7.0.tar.gz + sha512sums = 8331ef5eccda67f29b5c013974390ce1ccebf44f7bda3f3683a97c4a0340b7b2ec0d9c205c6077a7bb40ebb2576a49b97b2a7c46f2f0c384b6ada4386f6c6c0b + +pkgname = python-laspy + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..2ce0965b4c7f --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +python-laspy/ +laspy-*/ +*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f830c4b442ea --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Kuan-Yen Chou <kuanyenchou at gmail dot com> + +pkgname=python-laspy +pkgdesc="A pythonic interface for .LAS LIDAR files matching specification 1.0-1.4" +url="https://github.com/laspy/laspy" +pkgver=1.7.0 +pkgrel=1 +arch=('any') +depends=('python') +makedepends=('git' 'python-setuptools') # 'python-six') +license=('custom') +source=("https://github.com/laspy/laspy/archive/${pkgver}.tar.gz") +sha512sums=('8331ef5eccda67f29b5c013974390ce1ccebf44f7bda3f3683a97c4a0340b7b2ec0d9c205c6077a7bb40ebb2576a49b97b2a7c46f2f0c384b6ada4386f6c6c0b') + +build() { + cd "$srcdir/laspy-${pkgver}" + python setup.py build +} + +package() { + cd "$srcdir/laspy-${pkgver}" + python setup.py install \ + --prefix=/usr \ + --root="$pkgdir" \ + --optimize=1 \ + --skip-build + install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |