[arch-commits] Commit in khard/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Jul 23 16:09:03 UTC 2018
Date: Monday, July 23, 2018 @ 16:09:03
Author: foutrelis
Revision: 363112
archrelease: copy trunk to community-staging-any
Added:
khard/repos/community-staging-any/
khard/repos/community-staging-any/PKGBUILD
(from rev 363111, khard/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: khard/repos/community-staging-any/PKGBUILD (from rev 363111, khard/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-07-23 16:09:03 UTC (rev 363112)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=khard
+pkgver=0.12.2
+pkgrel=4
+pkgdesc="Console CardDAV client"
+arch=('any')
+url="https://github.com/scheibler/khard"
+license=('GPL3')
+depends=('python-atomicwrites' 'python-configobj' 'python-ruamel-yaml'
+'python-setuptools' 'python-unidecode' 'python-vobject')
+makedepends=('python-setuptools')
+optdepends=('vdirsyncer: Synchronization of address books with a DAV server'
+ 'diffutils: Using sdiff_khard_wrapper.sh')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scheibler/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('b46a51b8eea976ce7db0adc9e4e9ac1c0715e0b5e157bf6a437bea50d62f31028dde39d24af3ffe3ddbe066daf1992d7858545e7d5014de2fed35b11b1d9c0b2')
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ # additional wrapper script
+ install -vDm 755 "misc/sdiff/sdiff_${pkgname}_wrapper.sh" \
+ "${pkgdir}/usr/lib/${pkgname}/sdiff_${pkgname}_wrapper.sh"
+ # twinkle integration
+ install -t "${pkgdir}/usr/share/${pkgname}/twinkle/scripts/" \
+ -vDm 644 misc/twinkle/scripts/*.py
+ install -t "${pkgdir}/usr/share/${pkgname}/twinkle/sounds/" \
+ -vDm 644 misc/twinkle/sounds/*.wav
+ # zsh
+ install -vDm 644 "misc/zsh/_${pkgname}" \
+ "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+ # docs
+ install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+ -vDm 644 {AUTHORS,CHANGES,README.md} "misc/${pkgname}/"*.{example,yaml}
+}
More information about the arch-commits
mailing list