summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 08090c0746d767be4adb1fd9e08c44a4c9d543d9 (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
# Maintainer: Max Gautier <mg@max.gautier.name>
pkgname=msmtpq-systemd
pkgver=1.0.0
pkgrel=1
pkgdesc="Systemd unit for queuing and sending mail"
arch=(any)
license=('GPL')
groups=()
depends=(msmtp)
source=(msmtp-flush-mail msmtp.path msmtpq-systemd msmtp.service)
sha512sums=('SKIP'
            'SKIP'
            'SKIP'
            'SKIP')

package() {
	for i in msmtp.{path,service}
	do
		install -Dm644 $i $pkgdir/usr/lib/systemd/user/$i
	done
	for i in msmtp{-flush-mail,q-systemd}
	do
		install -Dm755 $i $pkgdir/usr/bin/$i
	done
}