blob: b649bbe7fd323a04e5afdef4dd6eaef73dfda5a5 (
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
32
33
|
# Maintainer: Dominik Fuchs <d.fuchs@mail.com>
pkgname=qgmailnotifier-git
pkgver=0.0.r7.84b71b5
pkgrel=1
pkgdesc='A portable Qt-based Gmail notifier'
arch=('any')
url='https://github.com/eteran/qgmailnotifier'
license=('GPL')
depends=('qt5-base')
makedepends=('git')
conflicts=('qgmailnotifier')
provides=("qgmailnotifier")
source=("$pkgname::git+https://github.com/eteran/qgmailnotifier.git#branch=master")
md5sums=('SKIP')
pkgver() {
cd $pkgname
# git describe can't describe anything without tags
printf "0.0.r%d.%s\n" $(git rev-list HEAD --count) $(git rev-parse --short HEAD)
}
build() {
cd $pkgname
qmake
make || return 1
}
package() {
cd $pkgname
mkdir -p $pkgdir/usr/{bin,}
make INSTALL_ROOT="${pkgdir}/usr" install
}
|