initial import
This commit is contained in:
63
fbpanel/PKGBUILD
Normal file
63
fbpanel/PKGBUILD
Normal file
@@ -0,0 +1,63 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=fbpanel
|
||||
pkgver=7.0
|
||||
_debver=$pkgver
|
||||
_debrel=4.2
|
||||
pkgrel=2
|
||||
pkgdesc="Lightweight X11 desktop panel (with Hyperbola-branding)"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('Expat' 'GPL-2')
|
||||
url='https://github.com/aanatoly/fbpanel'
|
||||
install=$pkgname.install
|
||||
depends=('gtk2' 'gdk-pixbuf-xlib')
|
||||
makedepends=('tauthon' 'quilt')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/aanatoly/fbpanel/archive/$pkgver.tar.gz"
|
||||
"https://deb.debian.org/debian/pool/main/f/fbpanel/fbpanel_$_debver-$_debrel.debian.tar.xz"
|
||||
"hyperbola-logo.png"
|
||||
"remove-volume-plugin.patch"
|
||||
"fix-config.patch")
|
||||
sha512sums=('9706a96569c41241de4dbd250c9d6a473b53a5e26e880f4c782041b2b91c7570046e1bee3070059fd2d333fb7159490732ef397b86701c72d4c65c0784948874'
|
||||
'f9fb881869687d64f68e1b000e6a2499ba426f1251265de62d7fb876200104b96c29dfd98b943f96648532ec9e6215c5b8ed9b7c8e22c02367912d10b13bb939'
|
||||
'5e5150c325d4ab0bdeead1cf4c77e50a3d860176826d9a0c562c635e5c9dccc98fd8bdffdf99655ddd708a3fa6d5cdcf97330345b2f76321517ff4744631b6f0'
|
||||
'79cc5f3073a11fb7d5fdb9148d81aea90ae88ea4a0ff97f465a87507841e6657bc53676e0cb01abd631c8e55c4dc26ee3cdc7b31c09c5ab8c53e5e62e57ce8fe'
|
||||
'53cfb97eabe73f1171d172c87a7e33ea200095e06c65824534d6a0e67e251a97031f25b6f6f283584d314891530b1d35bff429462c307834787eb32b36dbcf3d')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
|
||||
# Debian patches
|
||||
export QUILT_PATCHES=debian/patches
|
||||
export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
|
||||
export QUILT_DIFF_ARGS='--no-timestamps'
|
||||
|
||||
mv "$srcdir"/debian .
|
||||
|
||||
# Doesn't apply
|
||||
rm -v debian/patches/debian-logo.patch || true
|
||||
rm -v debian/patches/gcc-10.patch || true
|
||||
rm -v debian/patches/python2.diff || true
|
||||
|
||||
quilt push -av
|
||||
fi
|
||||
sed -i 's|python|tauthon|' configure .config/{repl.py,help,tar.py}
|
||||
|
||||
patch -Np1 -i ${srcdir}/remove-volume-plugin.patch
|
||||
patch -Np1 -i ${srcdir}/fix-config.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
./configure \
|
||||
--prefix /usr \
|
||||
--mandir /usr/share/man/man1
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
rm "$pkgdir/"usr/share/$pkgname/images/logo.png
|
||||
cp "$srcdir/"hyperbola-logo.png "$pkgdir/"usr/share/$pkgname/images/logo.png
|
||||
install -Dm644 COPYING debian/copyright -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
6
fbpanel/fbpanel.install
Normal file
6
fbpanel/fbpanel.install
Normal file
@@ -0,0 +1,6 @@
|
||||
post_install() {
|
||||
cat <<EOF
|
||||
Before starting the application remember to create your personal configuration-file.
|
||||
Copy the file '/usr/share/fbpanel/default' to '~/.config/fbpanel/default'!
|
||||
EOF
|
||||
}
|
||||
43
fbpanel/fix-config.patch
Normal file
43
fbpanel/fix-config.patch
Normal file
@@ -0,0 +1,43 @@
|
||||
--- a/data/config/default.in 2015-12-05 07:34:19.000000000 +0100
|
||||
+++ b/data/config/default.in 2023-12-22 02:26:03.035585953 +0100
|
||||
@@ -313,10 +313,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
-plugin {
|
||||
- type = volume
|
||||
-}
|
||||
-
|
||||
#plugin {
|
||||
# type = battery
|
||||
#}
|
||||
@@ -370,29 +366,5 @@
|
||||
type = icons
|
||||
config {
|
||||
DefaultIcon = %%datadir%%/fbpanel/images/default.xpm
|
||||
- application {
|
||||
- icon = gnome-terminal
|
||||
- ClassName = XTerm
|
||||
- }
|
||||
- application {
|
||||
- icon = gnome-terminal
|
||||
- ClassName = mlterm
|
||||
- }
|
||||
- application {
|
||||
- icon = gnome-terminal
|
||||
- ClassName = URxvt
|
||||
- }
|
||||
- application {
|
||||
- icon = gnome-emacs
|
||||
- ClassName = Emacs
|
||||
- }
|
||||
- application {
|
||||
- icon = mozilla-firefox
|
||||
- ClassName = Firefox-bin
|
||||
- }
|
||||
- application {
|
||||
- icon = mozilla-firefox
|
||||
- ClassName = Firefox
|
||||
- }
|
||||
}
|
||||
}
|
||||
BIN
fbpanel/hyperbola-logo.png
Normal file
BIN
fbpanel/hyperbola-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
10
fbpanel/remove-volume-plugin.patch
Normal file
10
fbpanel/remove-volume-plugin.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/plugins/Makefile 2015-12-05 07:34:19.000000000 +0100
|
||||
+++ b/plugins/Makefile 2023-12-22 02:18:52.645582263 +0100
|
||||
@@ -23,7 +23,6 @@
|
||||
systray \
|
||||
taskbar \
|
||||
tclock \
|
||||
- volume \
|
||||
wincmd \
|
||||
user
|
||||
|
||||
Reference in New Issue
Block a user