1
0
forked from ports/contrib

khal: updated python syntax

This commit is contained in:
Tim Biermann 2020-11-03 18:54:40 +00:00
parent afffabc8b8
commit 413374c407
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF39gTDHtRWED58dLlwnvWYaAmJoWwsTf+uUuAcivUeq3DUH9HkVgmwHnNo/TTJoK52fL2Bzk9UpTqOb85HWDmNQE=
SHA256 (Pkgfile) = e3637e030802a45d8c7f486defdc0bf67307fb64107fd3464a39c85b5a57ca70
RWSagIOpLGJF31GfzqDeiLYaudKXrKu6OX+L8X+xpCThJRAh60m/j5af/JPLbpLVfqe86U1c8tLKvS4j1JRVS4xUNKtwreuJUgk=
SHA256 (Pkgfile) = 247f1bacb628cb3dafcfbdf5980989fd10eb42bbe1b6572aacfb8ec96424c3bf
SHA256 (.footprint) = 64ee2b25b47f73bf5a2ea9b68702b2cb777d6673109f696fe80efdefa461cba0
SHA256 (khal-0.10.2.tar.gz) = 494f215c3d1cb7a1f8d756b440809d255bd20e2937f98bd0b5d44e42d4cb1087

View File

@ -10,13 +10,13 @@ source=(https://files.pythonhosted.org/packages/source/k/$name/$name-$version.ta
build() {
cd $name-$version
python3 setup.py build
python3 setup.py install \
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install \
--prefix=/usr \
--optimize=1 \
--skip-build \
--root=$PKG
if [ -e /lib/zsh ]; then
if [ -e /lib/zsh || -e /usr/lib/zsh ]; then
install -Dm644 misc/__khal $PKG/usr/share/zsh/site-functions/_khal
fi
}