blob: 0b977deec69c28d7f59cf248471f1f09d74a29df (
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
28
|
# Maintainer: Christian Krause ("wookietreiber") <christian.krause@mailbox.org>
# shellcheck disable=2034
# shellcheck disable=2148
pkgname='mailto-uri'
pkgver=1.2.0
pkgrel=2
pkgdesc="creates mailto URIs"
arch=('any')
url="https://pypi.org/project/mailto-uri/"
license=('GPL3')
depends=('python-frontmatter')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('dc34bdd508abb156115480e6775f9cc7')
build() {
# shellcheck disable=2154
cd "$srcdir"/$pkgname-$pkgver || exit 1
python setup.py build
}
package() {
cd "$srcdir"/$pkgname-$pkgver || exit 1
# shellcheck disable=2154
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|