[arch-commits] Commit in udiskie/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 18:40:51 UTC 2020


    Date: Thursday, November 12, 2020 @ 18:40:50
  Author: felixonmars
Revision: 753150

archrelease: copy trunk to community-staging-any

Added:
  udiskie/repos/community-staging-any/
  udiskie/repos/community-staging-any/PKGBUILD
    (from rev 753149, udiskie/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: udiskie/repos/community-staging-any/PKGBUILD (from rev 753149, udiskie/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 18:40:50 UTC (rev 753150)
@@ -0,0 +1,34 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contibutor: Pierre Neidhardt <ambrevar at gmail.com>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Byron Clark <byron at theclarkfamily.name>
+
+pkgname=udiskie
+pkgver=2.2.0
+pkgrel=3
+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")
+optdepends=("libappindicator-gtk3: --appindicator support")
+source=("$pkgname-$pkgver.tar.gz::https://codeload.github.com/coldfix/$pkgname/tar.gz/$pkgver")
+sha256sums=('1041bdf33e64371a68fe40ff242a7010244f4e90021cdd1435fd62ad1c5fcc50')
+
+build(){
+	cd "$pkgname-$pkgver"
+	export PYTHONHASHSEED=0
+	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/zsh/* "$pkgdir/usr/share/zsh/site-functions"
+}



More information about the arch-commits mailing list