pkgname=dmenu-feanor pkgver=5.0.r. pkgrel=1 epoch= pkgdesc="A build of dmenu patched for centering, borders, grids, numbers, line height, mouse support, fuzzy matching and highlighting." arch=(x86_64 i686) url="https://git.erunar.com/Feanor306/dmenu-feanor.git" groups=() depends=(ttf-hack ttf-joypixels) makedepends=(git) checkdepends=() optdepends=() provides=(dmenu) conflicts=(dmenu) replaces=() backup=() options=() install= changelog= source=("git+$url") noextract=() md5sums=('SKIP') validpgpkeys=() pkgver() { cd "${_pkgname}" printf "5.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd dmenu-feanor make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 } package() { cd dmenu-feanor mkdir -p ${pkgdir}/opt/${pkgname} cp -rf * ${pkgdir}/opt/${pkgname} make PREFIX=/usr DESTDIR="${pkgdir}" install install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 README.org "${pkgdir}/usr/share/doc/${pkgname}/README.org" }