update PKGBUILD to use gcc, that way we don't absolutely NEED tcc as a

dependency

TCC speeds up compile times, but you only compile the arch package once
so the benefits aren't really that noticeable, and normies certainly
don't notice it
This commit is contained in:
speedie 2023-04-02 02:12:25 +02:00
parent 2a9eebe93f
commit 64b9af8de5

View file

@ -7,7 +7,7 @@ pkgdesc="speedie's fork of suckless dmenu with color support and more"
url="https://git.speedie/gq/spmenu"
arch=(i686 x86_64)
license=(MIT)
depends=(sh libxinerama libxft pango libx11 imlib2 fribidi tcc-ziyao)
depends=(sh libxinerama libxft pango libx11 imlib2 fribidi gcc)
makedepends=(git)
provides=($pkgname)
conflicts=($pkgname)
@ -22,11 +22,11 @@ build(){
cd $pkgname-$pkgver
make \
X11INC=/usr/include/X11 \
X11LIB=/usr/lib/X11 CC=tcc
X11LIB=/usr/lib/X11 CC=gcc
}
package() {
cd "$pkgname-$pkgver"
make PREFIX=/usr DESTDIR="$pkgdir" CC=tcc install
make PREFIX=/usr DESTDIR="$pkgdir" CC=gcc install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}