summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d55ea0d6eeb64bd61c5ee415a866a6e1200c91af (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
# Maintainer: Antonio Cardace <anto.cardace@gmail.com>
pkgname=kmailapplet-git
pkgver=1.0
pkgrel=1
pkgdesc="A Mail Applet for the system tray to watch your Maildir box and get notifications whenever there's a new mail."
arch=('any')
url="https://gitlab.students.cs.unibo.it/cardace/KMailApplet"
license=('GPL3')
depends=('glibc' 'gcc-libs' 'boost-libs' 'qt5-base')
makedepends=('git' 'make' 'qt5-base')
provides=("$pkgname=$pkgver")
conflicts=("$pkgname")
source=("$pkgname::git+https://gitlab.students.cs.unibo.it/cardace/KMailApplet.git")
md5sums=("SKIP")

build() {
		cd "$srcdir/$pkgname"
		qmake -o Makefile build.pro
    make
}

package() {
		cd "$srcdir/$pkgname"
		cp -r usr etc $pkgdir
		chmod -R 755 "$pkgdir/usr" "$pkgdir/etc"
		mkdir -p "$pkgdir/usr/bin/"
		cp KMailApplet "$pkgdir/usr/bin/"
}