blob: cf45925379135e90fb4f3158180111fa29a02e0a (
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
34
35
36
|
# Maintainer: Jonathon Fernyhough <jonathon_at+manjaro dot+org>
# Contributor: Kr1ss <kr1ss.x#yandex#com>
# Contributor: Dmitry Valter <dvalter"protonmail"com>
_pkgbase=birdtray
pkgname=$_pkgbase-git
pkgver=latest
pkgrel=5
pkgdesc="Run Thunderbird with a system tray icon."
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
url="https://github.com/gyunaev/birdtray"
license=('GPL-3.0')
depends=(qt5-svg qt5-x11extras)
optdepends=('qt5-translations: Support for translations')
makedepends=(cmake git qt5-tools)
conflicts=($_pkgbase)
provides=($_pkgbase)
source=("git+$url.git")
sha1sums=(SKIP)
pkgver() {
git -C $_pkgbase describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^RELEASE_//g'
}
build() {
mkdir -p build && cd build
cmake ../$_pkgbase \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
make -C build DESTDIR="$pkgdir" install
install -Dm644 -t "$pkgdir/usr/share/doc/$_pkgbase/" $_pkgbase/README.md
}
|