diff options
author | calamity | 2022-10-17 23:15:05 +0200 |
---|---|---|
committer | calamity | 2022-10-17 23:15:05 +0200 |
commit | 5295c75b7b45171e62d0b20d3b1cf55e67e55667 (patch) | |
tree | 45d3918c797b920bb37ee78226d9cc68e18ad0ae | |
download | aur-5295c75b7b45171e62d0b20d3b1cf55e67e55667.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | use-rofi.patch | 5 |
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d576735bacf0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = clipmenu-rofi + pkgdesc = Clipboard management, patched to use rofi by default + pkgver = 6.2.0 + pkgrel = 1 + url = https://github.com/cdown/clipmenu + arch = any + license = custom:Public Domain + depends = rofi + depends = xsel + depends = clipnotify + depends = xdotool + provides = clipmenu + source = clipmenu-rofi-6.2.0.tar.gz::https://github.com/cdown/clipmenu/archive/6.2.0.tar.gz + source = use-rofi.patch + sha512sums = adfd649a120264552e2c05314ae2ad039055308f77d620dbb3fc206e4244a6f1f2e5ed4a7e86fd547a78692aebaec1761528e10408d838f80def99959ef58295 + sha512sums = d911375d2edde369ab3b496d62cea0e044387982aa08682c3e4a00416de177a66b4be79601df506b1f650e7a2882d8b61a53ec1e71516a017aa4567992ddbbad + +pkgname = clipmenu-rofi diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..160815dee63c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: calamity <calamity dot aur at mailban dot de> +# Contributor: Thore Bödecker <foxxx0@archlinux.org> +# Contributor: Chris Down <chris@chrisdown.name> +pkgname=clipmenu-rofi +pkgver=6.2.0 +pkgrel=1 +pkgdesc='Clipboard management, patched to use rofi by default' +url='https://github.com/cdown/clipmenu' +arch=('any') +license=('custom:Public Domain') +depends=('rofi' 'xsel' 'clipnotify' 'xdotool') +provides=('clipmenu') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz" + "use-rofi.patch") +sha512sums=('adfd649a120264552e2c05314ae2ad039055308f77d620dbb3fc206e4244a6f1f2e5ed4a7e86fd547a78692aebaec1761528e10408d838f80def99959ef58295' + 'd911375d2edde369ab3b496d62cea0e044387982aa08682c3e4a00416de177a66b4be79601df506b1f650e7a2882d8b61a53ec1e71516a017aa4567992ddbbad') + +prepare() { + patch --directory="clipmenu-${pkgver}" --forward --strip=0 --input="${srcdir}/use-rofi.patch" +} + +package() { + cd "${srcdir}/clipmenu-${pkgver}" + for _executable in clip{menu,menud,del,fsck,ctl}; do + install -D -m755 "${_executable}" "${pkgdir}/usr/bin/${_executable}" + done + install -D -m644 init/clipmenud.service "${pkgdir}/usr/lib/systemd/user/clipmenud.service" + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/clipmenu/LICENSE" +} diff --git a/use-rofi.patch b/use-rofi.patch new file mode 100644 index 000000000000..2d9ff54eec95 --- /dev/null +++ b/use-rofi.patch @@ -0,0 +1,5 @@ +--- clipmenu ++++ clipmenu +@@ -3 +3 @@ +-: "${CM_LAUNCHER=dmenu}" ++: "${CM_LAUNCHER=rofi}" |