summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0616aadcf318b090ce5286bc09d496b500965793 (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
25
26
27
28
29
30
31
# Maintainer: Balázs Batári <bayi@bayi.hu>
pkgname=qdmenu
pkgver=v1.0.14.gbd8265e
pkgrel=1
pkgdesc="A QML launcher similar to dmenu"
arch=('i686' 'x86_64')
url=https://github.com/bayi/qdmenu
license=('MIT')
depends=('qt5-base' 'qt5-declarative' 'qt5-svg', 'qt5-location')
makedepends=('git' 'make')
source=("$pkgname::git+https://github.com/bayi/qdmenu.git")
md5sums=('SKIP')
provides=("$pkgname")
conflicts=("$pkgname")

pkgver() {
  cd "$srcdir/$pkgname"
  git describe --tags | sed 's|-|.|g'
}

build() {
    cd "$srcdir/$pkgname"
    qmake
    make
}

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