Adding ST

This commit is contained in:
Debucquoy Anthony 2023-04-12 01:06:48 +02:00
commit a76755e0f9
Signed by: tonitch
GPG Key ID: A78D6421F083D42E

39
st/PKGBUILD Normal file
View File

@ -0,0 +1,39 @@
# Maintainer: DEBUCQUOY Anthony <Debucquoy.anthony@gmail.com>
pkgname=tonitch-st-git
pkgver=0.9.r12.5bfe4b3
pkgrel=1
pkgdesc="Suckless Terminal with patch for tonitch"
arch=('x86_64')
url="https://git.herisson.ovh/tonitch/st"
license=('MIT')
depends=()
makedepends=('git')
provides=(st)
conflicts=(st)
source=("git+$url")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/st"
printf "%s" "$(git describe --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
# prepare() {
# cd "$srcdir/${pkgname%}"
# }
build() {
cd "$srcdir/st"
make
}
# check() {
# cd "$srcdir/${pkgname}"
# make -k check
# }
package() {
cd "$srcdir/st"
make PREFIX=/usr DESTDIR="$pkgdir/" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}