spmenu/PKGBUILD

33 lines
775 B
Bash
Raw Normal View History

2023-02-26 22:47:22 +01:00
# Maintainer: speedie <speedie.alt@gmail.com>
pkgname=spmenu
2023-03-01 13:20:53 +01:00
pkgver=0.2.1
2023-02-26 22:47:22 +01:00
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 tcc-ziyao)
makedepends=(git)
provides=($pkgname)
conflicts=($pkgname)
source=(
2023-03-01 13:20:53 +01:00
"$pkgname-$pkgver.tar.gz"
#"https://ls.speedie.gq/releases/$pkgname/$pkgname-$pkgver.tar.gz"
2023-02-26 22:47:22 +01:00
)
2023-03-01 13:20:53 +01:00
md5sums=(98fa925eaa64a2096ab892a8216f5334)
2023-02-26 22:47:22 +01:00
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
}