diff options
author | Dimitris Kiziridis | 2020-07-30 20:04:51 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-07-30 20:04:51 +0300 |
commit | 0216b92bf444e9e7143dc92758a871a79de62222 (patch) | |
tree | 8a737152363b886440dedd9f18cc62a39992a8e7 | |
download | aur-0216b92bf444e9e7143dc92758a871a79de62222.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fdc23552390d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-portolan + pkgdesc = Convert between compass points and degrees + pkgver = 1.0.1 + pkgrel = 1 + url = https://github.com/fitnr/portolan + arch = any + license = GPL3 + makedepends = python-setuptools + source = python-portolan-1.0.1.tar.gz::https://github.com/fitnr/portolan/archive/v1.0.1.tar.gz + sha256sums = ce9d81b60ab705f1e305d3d691883d740bf35079acea75ea448927915b220d4c + +pkgname = python-portolan + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fb61c2f2f130 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com> + +pkgname=python-portolan +pkgver=1.0.1 +pkgrel=1 +pkgdesc='Convert between compass points and degrees' +arch=('any') +url="https://github.com/fitnr/portolan" +license=('GPL3') +makedepends=('python-setuptools') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/fitnr/portolan/archive/v${pkgver}.tar.gz") +sha256sums=('ce9d81b60ab705f1e305d3d691883d740bf35079acea75ea448927915b220d4c') + +package() { + cd "portolan-${pkgver}" + python setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
\ No newline at end of file |