summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 189e7597c7782af4aeee500c298e63ee8013fd63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Agustin Borgna <hello[at]aborgna.com.ar>

pkgname=mmenu
pkgver=r7.81130ed
pkgrel=1
pkgdesc="A dmenu wrapper which works like dmenu_run, but evaluates math you give it too"
arch=('any')
url="https://github.com/mortie/mmenu"
license=('unknown')
depends=('dmenu' 'python' 'xsel')
makedepends=('git')

source=('git://github.com/mortie/mmenu.git')
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/mmenu"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "$srcdir"
    install -Dm755 "mmenu/mmenu" "${pkgdir}/usr/bin/mmenu"
}