Date: Monday, July 23, 2018 @ 17:22:01 Author: foutrelis Revision: 363192
archrelease: copy trunk to community-staging-any Added: udiskie/repos/community-staging-any/ udiskie/repos/community-staging-any/PKGBUILD (from rev 363191, udiskie/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: udiskie/repos/community-staging-any/PKGBUILD (from rev 363191, udiskie/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-23 17:22:01 UTC (rev 363192) @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 73684 2012-07-14 05:00:28Z dwallace $ +# Maintainer: <foxbo...@archlinux.org> +# Contibutor: Pierre Neidhardt <ambre...@gmail.com> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: Byron Clark <by...@theclarkfamily.name> + +pkgname=udiskie +pkgver=1.7.5 +pkgrel=2 +pkgdesc="Removable disk automounter using udisks" +arch=("any") +url="https://pypi.python.org/pypi/udiskie" +license=("MIT") +depends=("udisks2" "python" "python-gobject" "python-yaml" "python-docopt" "gtk3" "libnotify" "python-keyutils") +makedepends=("asciidoc" "python-setuptools") +source=("$pkgname-$pkgver.tar.gz::https://codeload.github.com/coldfix/$pkgname/tar.gz/$pkgver") +sha256sums=('5754222ad9f0aa8bc4eb4f528caa441460ebfaef7f724ad540bdef62fb4ceb90') + +build(){ + cd "$pkgname-$pkgver" + python setup.py build + make -C doc +} + +package() { + cd "$pkgname-$pkgver" + + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -m 0644 -D "doc/$pkgname.8" "$pkgdir/usr/share/man/man8/$pkgname.8" + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -dm755 "$pkgdir/usr/share/zsh/site-functions" + install -m644 completions/* "$pkgdir/usr/share/zsh/site-functions" +}