[arch-commits] Commit in rofimoji/repos/community-any (4 files)
Daniel M. Capella
polyzen at gemini.archlinux.org
Fri Feb 4 21:04:33 UTC 2022
Date: Friday, February 4, 2022 @ 21:04:33
Author: polyzen
Revision: 1126025
archrelease: copy trunk to community-any
Added:
rofimoji/repos/community-any/PKGBUILD
(from rev 1126024, rofimoji/trunk/PKGBUILD)
rofimoji/repos/community-any/rofimoji.install
(from rev 1126024, rofimoji/trunk/rofimoji.install)
Deleted:
rofimoji/repos/community-any/PKGBUILD
rofimoji/repos/community-any/rofimoji.install
------------------+
PKGBUILD | 103 ++++++++++++++++++++++++++---------------------------
rofimoji.install | 12 +++---
2 files changed, 58 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-04 21:04:11 UTC (rev 1126024)
+++ PKGBUILD 2022-02-04 21:04:33 UTC (rev 1126025)
@@ -1,51 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=rofimoji
-pkgver=5.3.0
-pkgrel=2
-pkgdesc='Character picker for rofi'
-arch=('any')
-url=https://github.com/fdw/rofimoji
-license=('MIT')
-depends=('python-configargparse')
-makedepends=('python-build' 'python-install' 'python-setuptools' 'python-wheel')
-optdepends=('emoji-font: for the emojis character file'
- 'nerd-fonts: for the nerd_font character file'
- 'rofi: for the X.Org selector'
- 'xclip: for one of the X.Org clipboarders'
- 'xsel: for one of the X.Org clipboarders'
- 'xdotool: for the X.Org typer'
- 'wofi: for the Wayland selector'
- 'wl-clipboard: for the Wayland clipboarder'
- 'wtype: for the Wayland typer')
-install=$pkgname.install
-source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-b2sums=('da4868abb2f403ba72792eb345a832af5f4b1514649d799a00ea46971de01dd77b53283f2cd6f263210923383f66f1f12b5fcf2e25ffebfa739ab56150d5d68e')
-
-prepare() {
- cd $pkgname-$pkgver
- # Remove data_files section https://github.com/pypa/wheel/issues/92
- sed -i '/\[options.data_files\]/,/^$/d' setup.cfg
-}
-
-build() {
- cd $pkgname-$pkgver
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-package() {
- cd $pkgname-$pkgver
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
- install -Dm644 -t "$pkgdir"/usr/share/man/man1 src/picker/docs/$pkgname.1
-
- # https://github.com/FFY00/python-install/pull/6
- chmod +x "$pkgdir"/usr/bin/*
-
- # Symlink license file
- local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
- install -d "$pkgdir"/usr/share/licenses/$pkgname
- ln -s "$site_packages"/$pkgname-$pkgver.dist-info/LICENSE \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: rofimoji/repos/community-any/PKGBUILD (from rev 1126024, rofimoji/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-04 21:04:33 UTC (rev 1126025)
@@ -0,0 +1,52 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=rofimoji
+pkgver=5.4.0
+pkgrel=1
+pkgdesc='Character picker for rofi'
+arch=('any')
+url=https://github.com/fdw/rofimoji
+license=('MIT')
+depends=('python-configargparse')
+makedepends=('python-build' 'python-install' 'python-setuptools' 'python-wheel')
+optdepends=('emoji-font: for the emojis character file'
+ 'nerd-fonts: for the nerd_font character file'
+ 'rofi: for the X.Org selector'
+ 'xclip: for one of the X.Org clipboarders'
+ 'xsel: for one of the X.Org clipboarders'
+ 'xdotool: for the X.Org typer'
+ 'wofi: for the Wayland selector'
+ 'wl-clipboard: for the Wayland clipboarder'
+ 'wtype: for the Wayland typer')
+install=$pkgname.install
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('7c87d4c88382cc85a7b0ea2adb998f383c1310a04749bf0b3a7ddb4fb42a0a37')
+b2sums=('44bde09f725d8a483b4be93aa64d15fd00c6c7dd555a6f8e0d2ac9e46f8c179833784c6716345c8eea44dd3dbba1475447560fb9d422a545a1bd90c9e2691425')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # Remove data_files section https://github.com/pypa/wheel/issues/92
+ sed -i '/\[options.data_files\]/,/^$/d' setup.cfg
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ install -Dm644 -t "$pkgdir"/usr/share/man/man1 src/picker/docs/$pkgname.1
+
+ # https://github.com/FFY00/python-install/pull/6
+ chmod +x "$pkgdir"/usr/bin/*
+
+ # Symlink license file
+ local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s "$site_packages"/$pkgname-$pkgver.dist-info/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: rofimoji.install
===================================================================
--- rofimoji.install 2022-02-04 21:04:11 UTC (rev 1126024)
+++ rofimoji.install 2022-02-04 21:04:33 UTC (rev 1126025)
@@ -1,6 +0,0 @@
-post_install() {
- cat << EOF
-rofimoji requires an appropriate "selector", "clipboarder", and "typer" to be
-installed for your display server.
-EOF
-}
Copied: rofimoji/repos/community-any/rofimoji.install (from rev 1126024, rofimoji/trunk/rofimoji.install)
===================================================================
--- rofimoji.install (rev 0)
+++ rofimoji.install 2022-02-04 21:04:33 UTC (rev 1126025)
@@ -0,0 +1,6 @@
+post_install() {
+ cat << EOF
+rofimoji requires an appropriate "selector", "clipboarder", and "typer" to be
+installed for your display server.
+EOF
+}
More information about the arch-commits
mailing list