blob: c21a9e92566f502394d382f7561ed5a5d6d2f563 (
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.19.g3ddc004
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"
}
|