diff options
author | Michael Spencer | 2018-04-28 18:14:47 -0500 |
---|---|---|
committer | Michael Spencer | 2018-04-28 18:14:47 -0500 |
commit | 3d1c8ae1e94f28592a09b0a7d446a93df12862f4 (patch) | |
tree | c8a2430375a5cb726304f9e69cdf582f8b7f6221 | |
download | aur-3d1c8ae1e94f28592a09b0a7d446a93df12862f4.tar.gz |
Initial AUR package for v0.3
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d272960302a2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = this + pkgdesc = Standardized project tool for running common tasks + pkgver = 0.3 + pkgrel = 1 + url = https://github.com/ibelieve/this + arch = any + license = MIT + makedepends = python-pytest + makedepends = python-pytest-mock + depends = python + depends = python-setuptools + depends = python-click + source = this-0.3.tar.gz::https://github.com/ibelieve/this/archive/v0.3.tar.gz + md5sums = 80a8b43eefcc4c5c215f6f04b4fbb635 + +pkgname = this + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..190ee8d85f81 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Michael Spencer <sonrisesoftware@gmail.com> +pkgname=this +pkgver=0.3 +pkgrel=1 +pkgdesc="Standardized project tool for running common tasks" +url="https://github.com/ibelieve/this" +license=('MIT') +arch=('any') +depends=('python' 'python-setuptools' 'python-click') +makedepends=('python-pytest' 'python-pytest-mock') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ibelieve/this/archive/v${pkgver}.tar.gz") +md5sums=('80a8b43eefcc4c5c215f6f04b4fbb635') + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +check() { + cd "$pkgname-$pkgver" + python setup.py test + python setup.py check +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |