Add pkgbuild
This commit is contained in:
commit
aa85fa5dff
2 changed files with 38 additions and 0 deletions
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
pkgbase = textbar-git
|
||||||
|
pkgdesc = Text status bar for X11
|
||||||
|
pkgver = db4159c546
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://gitea.itycodes.org/itycodes/textbar
|
||||||
|
arch = x86_64
|
||||||
|
license = BSD-3-Clause
|
||||||
|
depends = gcc>=11.0.0,cairo>=1.17.8,libx11>=1.8.0
|
||||||
|
provides = textbar
|
||||||
|
conflicts = textbar
|
||||||
|
source = https://gitea.itycodes.org/itycodes/textbar/archive/db4159c5469d763c3b8c901d2bd0559a9d03129a.tar.gz
|
||||||
|
sha256sums = b2d5b985a697dfbf09059084d030ac8ccf6b1a92791f7877bc9ba109d0a8e43b
|
||||||
|
|
||||||
|
pkgname = textbar-git
|
24
PKGBUILD
Normal file
24
PKGBUILD
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Maintainer: threeoh6000 <master@colean.cc>
|
||||||
|
pkgname="textbar-git"
|
||||||
|
pkgver="db4159c546"
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Text status bar for X11"
|
||||||
|
arch=("x86_64")
|
||||||
|
url="https://gitea.itycodes.org/itycodes/textbar"
|
||||||
|
license=("BSD-3-Clause")
|
||||||
|
depends=("gcc>=11.0.0","cairo>=1.17.8","libx11>=1.8.0")
|
||||||
|
source=("https://gitea.itycodes.org/itycodes/textbar/archive/db4159c5469d763c3b8c901d2bd0559a9d03129a.tar.gz")
|
||||||
|
sha256sums=("b2d5b985a697dfbf09059084d030ac8ccf6b1a92791f7877bc9ba109d0a8e43b")
|
||||||
|
provides=("textbar")
|
||||||
|
conflicts=("textbar")
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "textbar"
|
||||||
|
./compile.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "textbar"
|
||||||
|
mkdir -p "$pkgdir/usr/bin"
|
||||||
|
cp main.o "$pkgdir/usr/bin/textbar"
|
||||||
|
}
|
Loading…
Reference in a new issue