forked from speedie/spmenu
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:
parent
2a9eebe93f
commit
64b9af8de5
6
PKGBUILD
6
PKGBUILD
|
@ -7,7 +7,7 @@ pkgdesc="speedie's fork of suckless dmenu with color support and more"
|
||||||
url="https://git.speedie/gq/spmenu"
|
url="https://git.speedie/gq/spmenu"
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
license=(MIT)
|
license=(MIT)
|
||||||
depends=(sh libxinerama libxft pango libx11 imlib2 fribidi tcc-ziyao)
|
depends=(sh libxinerama libxft pango libx11 imlib2 fribidi gcc)
|
||||||
makedepends=(git)
|
makedepends=(git)
|
||||||
provides=($pkgname)
|
provides=($pkgname)
|
||||||
conflicts=($pkgname)
|
conflicts=($pkgname)
|
||||||
|
@ -22,11 +22,11 @@ build(){
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
make \
|
make \
|
||||||
X11INC=/usr/include/X11 \
|
X11INC=/usr/include/X11 \
|
||||||
X11LIB=/usr/lib/X11 CC=tcc
|
X11LIB=/usr/lib/X11 CC=gcc
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname-$pkgver"
|
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
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue