From b6405a22c8e14e62f1fd6573ae82f90157940f3e Mon Sep 17 00:00:00 2001 From: cakarsu Date: Mon, 8 May 2023 20:26:29 +0300 Subject: [PATCH] Whisker menu ve xkb plugin --- xfce/extra/xfce4-whiskermenu-plugin/ympbuild | 35 ++++++++++++++++++ xfce/extra/xfce4-xkb-plugin/ympbuild | 39 ++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 xfce/extra/xfce4-whiskermenu-plugin/ympbuild create mode 100644 xfce/extra/xfce4-xkb-plugin/ympbuild diff --git a/xfce/extra/xfce4-whiskermenu-plugin/ympbuild b/xfce/extra/xfce4-whiskermenu-plugin/ympbuild new file mode 100644 index 00000000..f704b3ae --- /dev/null +++ b/xfce/extra/xfce4-whiskermenu-plugin/ympbuild @@ -0,0 +1,35 @@ +#!/usr/bin/env bash +name='xfce4-whiskermenu-plugin' +release='1' +version='2.7.3' +url='https://gottcode.org/xfce4-whiskermenu-plugin/' +description='Menu for Xfce4' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://github.com/gottcode/xfce4-whiskermenu-plugin/archive/refs/tags/v${version}.tar.gz") +depends=(garcon xfce4-panel) +makedepends=(cmake ninja) +md5sums=('0f4ef8695e9f3f5491379088322ff919') +group=(xfce.extra) +uses=() +arch=('x86_64') + +cd $name-$version + +setup(){ + cmake -B build -S . \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -GNinja +} + +build(){ + ninja -C build +} + +package(){ + DESTDIR="$DESTDIR" ninja -C build install +} + diff --git a/xfce/extra/xfce4-xkb-plugin/ympbuild b/xfce/extra/xfce4-xkb-plugin/ympbuild new file mode 100644 index 00000000..eaaa05db --- /dev/null +++ b/xfce/extra/xfce4-xkb-plugin/ympbuild @@ -0,0 +1,39 @@ +#!/usr/bin/env bash +name='xfce4-xkb-plugin' +release='1' +version='0.8.3' +_version='0.8' +url='https://docs.xfce.org/panel-plugins/xfce4-xkb-plugin' +description='Plugin to switch keyboard layouts for the Xfce4 panel' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('custom') +source=("https://archive.xfce.org/src/panel-plugins/xfce4-xkb-plugin/${_version}/xfce4-xkb-plugin-${version}.tar.bz2") +#source=("https://mirror.netcologne.de/xfce/src/panel-plugins/xfce4-xkb-plugin/${_version}/xfce4-xkb-plugin-${version}.tar.bz2") +depends=(libnotify librsvg libwnck3 libxklavier xfce4-panel) +makedepends=(intltool) +md5sums=('16ed2f9fdd7107383a209625f616d398') +group=(xfce.extra) +uses=() +arch=('x86_64') + +cd $name-$version + +setup(){ + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --disable-debug +} + +build(){ + make $jobs +} + +package(){ + make DESTDIR="$DESTDIR" install + install -Dm644 COPYING "$DESTDIR/usr/share/licenses/$name/COPYING" +} +