# Maintainer: Devin Pohl # ------------------------------------------------------- # PLUGINS # ------------------------------------------------------- # If you'd like to compile in plugins, add the names here # For a list of available plugins, see the git repo # or run `make plugins` in the cloned repo PLUGINS="" # ------------------------------------------------------- # DEPENDS # ------------------------------------------------------- # If you want a super-minimal system, some of the following # dependencies can be disabled # Always required: depends=('libxft') # Required for plugins which copy to clip perminantly # this includes: calc, spellcheck depends+=('xclip') # Requred for the lookup plugin depends+=('xdg-utils') # Requred for the spellcheck plugin depends+=('aspell') # Required for Xinerama (requires editing config.mk to disable) depends+=('libxinerama') makedepends=('rust' 'git' 'clang' 'sh' 'make' 'diffutils') _pkgname=dmenu pkgname=$_pkgname-rs pkgver=5.5.3 pkgrel=1 pkgdesc="A 1:1 port of dmenu, rewritten in Rust" arch=('i686' 'x86_64') url="https://github.com/Shizcow/dmenu-rs" license=('GPL') provides=($_pkgname) conflicts=($_pkgname) source=("${pkgname}::git+${url}.git") md5sums=('SKIP') pkgver() { cd $pkgname git describe --tags | sed 's/-.*//' } prepare() ( cd dmenu-rs git config advice.detachedHead false ) build() ( cd dmenu-rs git checkout $pkgver make PLUGINS="$PLUGINS" ) package() ( cd $pkgname make PREFIX=/usr DESTDIR="$pkgdir" PLUGINS="$PLUGINS" install install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE )