add new package build for st

This commit is contained in:
speedie 2023-02-27 18:15:58 +01:00
parent 9a9ae2222d
commit e7fc8f5e94

31
PKGBUILD Normal file
View file

@ -0,0 +1,31 @@
# Maintainer: speedie <speedie.alt@gmail.com>
pkgname=st-spde
pkgver=1.2
pkgrel=1
pkgdesc="speedie's fork of st with .Xresources, pywal, alpha, and more."
url="https://git.speedie/gq/st"
arch=(i686 x86_64)
license=(MIT)
depends=(sh libxft libx11 gd tcc-ziyao harfbuzz)
makedepends=()
provides=($pkgname)
conflicts=($pkgname)
source=(
"https://ls.speedie.gq/releases/$pkgname/$pkgname-$pkgver.tar.gz"
)
md5sums=('SKIP')
build(){
cd $pkgname-$pkgver
make \
X11INC=/usr/include/X11 \
X11LIB=/usr/lib/X11 CC=tcc
}
package() {
cd "$pkgname-$pkgver"
make PREFIX=/usr DESTDIR="$pkgdir" CC=tcc install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}