summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik2015-11-11 21:34:23 +0100
committerMikkel Oscar Lyderik2015-11-11 21:34:23 +0100
commit2a66270405c9ebc70b24faecef6664a153061486 (patch)
treee299bc718e801a23896497d5b1f08e6e8c145f5a
parentdf2c14bc90866625aba7f36d20fb4c9cef5aa697 (diff)
downloadaur-2a66270405c9ebc70b24faecef6664a153061486.tar.gz
Init commit
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD23
2 files changed, 12 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 68445185769..f387cc535d0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,11 +6,10 @@ pkgbase = python-path-and-address
arch = any
license = MIT
makedepends = python-setuptools
- makedepends = git
depends = python
options = !emptydirs
- source = python-path-and-address::git://github.com/joeyespo/path-and-address
- md5sums = SKIP
+ source = https://github.com/joeyespo/path-and-address/archive/v1.0.0.tar.gz
+ md5sums = 74c53ac1c056c62755d1d5833311ef35
pkgname = python-path-and-address
diff --git a/PKGBUILD b/PKGBUILD
index 1cfb15e68f8..64bc084f7b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,22 @@
-# Maintainer: XZS <d dot f dot fischer at web dot de>
-pkgname=python-path-and-address
+# Maintainer: Mikkel Oscar Lyderik <mikkeloscar at gmail dot com>
+# Contributer: XZS <d dot f dot fischer at web dot de>
+
+_gitname=path-and-address
+
pkgver=1.0.0
+pkgname=python-$_gitname
pkgrel=1
pkgdesc="Functions for server CLI applications used by humans."
arch=('any')
url="https://github.com/joeyespo/path-and-address"
license=('MIT')
depends=('python')
-makedepends=('python-setuptools' 'git')
+makedepends=('python-setuptools')
options=(!emptydirs)
-source=("$pkgname::git://github.com/joeyespo/path-and-address")
-md5sums=('SKIP')
-
-pkgver() {
- cd "$srcdir/$pkgname"
- grep -Po "(?<=version=').*(?=',)" setup.py
-}
+source=("https://github.com/joeyespo/$_gitname/archive/v${pkgver}.tar.gz")
+md5sums=('74c53ac1c056c62755d1d5833311ef35')
package() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$_gitname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
}
-
-# vim:set ts=2 sw=2 et: