blob: 830c8c7a2ea004dd0ea3c16f4205fd21dadeeeb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: John Reese <john@noswap.com>
pkgname=dotlink
pkgver=2.1
pkgrel=2
pkgdesc="Python script to automate deployment of dotfile from git repos to local and remote hosts"
arch=('any')
url="https://github.com/amyreese/dotlink"
license=('MIT')
depends=('python' 'python-click' 'python-platformdirs' 'python-typing_extensions')
makedepends=('python-build' 'python-flit-core' 'python-installer')
source=("https://pypi.python.org/packages/source/D/Dotlink/dotlink-${pkgver}.tar.gz")
md5sums=('32d0636b460fc43dd73e2653822f34d4')
build() {
cd "$srcdir/dotlink-$pkgver"
python -m build --no-isolation --wheel
}
package() {
cd "$srcdir/dotlink-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|