aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sylpheed-imap-notify/APKBUILD
blob: df87749c13e019d59219a13b064b44e97e91a299 (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
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer:
pkgname=sylpheed-imap-notify
pkgver=1.1.0
pkgrel=0
pkgdesc="An IMAP NOTIFY and IDLE plugin for the Sylpheed mail client."
url="https://github.com/clehner/sylpheed-imap-notify"
arch="all"
license="GPL-3.0-or-later"
depends="sylpheed"
makedepends="sylpheed-dev gtk+-dev"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/clehner/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make PREFIX=/usr SYLPHEED_DIR=/usr/include/sylpheed/sylph
}

package() {
	cd "$builddir"
	install -d -m0755 "$pkgdir"/usr/lib/sylpheed/plugins
	install -m0644 imap_notify.so "$pkgdir"/usr/lib/sylpheed/plugins
}

sha512sums="8763bf271f2908c02112ae6f737f0435091d7f5f0b336cb60be6e655cc678c82cadde0d3d4fb595a673189b6b4444e65a8f753ff91fe5522423e20ec6e4ec339  sylpheed-imap-notify-1.1.0.tar.gz"