textbar/PKGBUILD

29 lines
725 B
Text
Raw Permalink Normal View History

2024-01-01 22:07:16 +00:00
# Maintainer: threeoh6000 <master@colean.cc>
2024-08-03 16:08:00 +01:00
pkgname="textbar"
2024-01-01 22:07:16 +00:00
pkgver="db4159c546"
2024-08-03 16:08:00 +01:00
pkgrel=3
2024-01-01 22:07:16 +00:00
pkgdesc="Text status bar for X11"
2024-08-03 16:08:00 +01:00
options=("!debug" "strip")
2024-01-01 22:07:16 +00:00
arch=("x86_64")
url="https://gitea.itycodes.org/itycodes/textbar"
license=("BSD-3-Clause")
2024-01-01 22:12:37 +00:00
depends=("cairo>=1.17.8"
"libx11>=1.8.0")
2024-01-01 22:10:56 +00:00
makedepends=("gcc>=11.0.0")
2024-08-03 16:11:44 +01:00
source=("https://git.colean.cc/mirrors/textbar/archive/db4159c5469d763c3b8c901d2bd0559a9d03129a.tar.gz")
2024-01-01 22:07:16 +00:00
sha256sums=("b2d5b985a697dfbf09059084d030ac8ccf6b1a92791f7877bc9ba109d0a8e43b")
provides=("textbar")
conflicts=("textbar")
build() {
cd "textbar"
2024-08-03 16:05:42 +01:00
patch main.c "../../fix_x_loop.patch"
2024-01-01 22:07:16 +00:00
./compile.sh
}
package() {
cd "textbar"
mkdir -p "$pkgdir/usr/bin"
cp main.o "$pkgdir/usr/bin/textbar"
}