forked from speedie/spmenu
64b9af8de5
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
33 lines
745 B
Bash
33 lines
745 B
Bash
# Maintainer: speedie <speedie.alt@gmail.com>
|
|
|
|
pkgname=spmenu
|
|
pkgver=VERSION
|
|
pkgrel=1
|
|
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 gcc)
|
|
makedepends=(git)
|
|
provides=($pkgname)
|
|
conflicts=($pkgname)
|
|
source=(
|
|
"$pkgname-$pkgver.tar.gz"
|
|
#"https://ls.speedie.gq/releases/$pkgname/$pkgname-$pkgver.tar.gz"
|
|
)
|
|
|
|
md5sums=(MD5SUM)
|
|
|
|
build(){
|
|
cd $pkgname-$pkgver
|
|
make \
|
|
X11INC=/usr/include/X11 \
|
|
X11LIB=/usr/lib/X11 CC=gcc
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
make PREFIX=/usr DESTDIR="$pkgdir" CC=gcc install
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|