summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 571ffed5968f15dc44ae38123dad18682fac26b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=imaputils
pkgver=20191107
pkgrel=1
pkgdesc="perl script for managing/searching mail on an IMAP servers from the command line"
arch=(any)
url="https://sourceforge.net/projects/imaputils/files/"
license=('BSD')
depends=('perl-mail-imapclient' 'perl-datetime-format-mail' 'perl-datetime' 'perl-io-socket-ssl' 'socat')
source=("$pkgname::git://git.code.sf.net/p/imaputils/git")
md5sums=('SKIP')

prepare() {
	cd "$pkgname"
	sed -i 's|/etc/pki/ca-trust/extracted/pem|/etc/ca-certificates/extracted|g' imaputils.pl
}

package() {
	cd "$pkgname"
	install -Dm0755 imaputils.pl $pkgdir/usr/bin/imaputils.pl
	install -Dm0644 README $pkgdir/usr/share/doc/$pkgname/README
}