blob: 002e043459720b22a73d83bc4a9100fb0d5982aa (
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
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Kareem Khazem <karkhaz at karkhaz dot com>
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: aksr <aksr at t-com dot me>
pkgname=mblaze
pkgver=1.4
pkgrel=1
pkgdesc="Unix utilities to deal with Maildir"
arch=('x86_64')
url="https://github.com/leahneukirchen/mblaze"
license=('custom:publicdomain')
depends=('bash' 'gawk')
makedepends=('git')
conflicts=('santoku')
source=("$pkgname::git+$url#tag=v$pkgver?signed")
sha256sums=('SKIP')
## GPG key located at https://leahneukirchen.org/infopage.html
validpgpkeys=('E6F6848A1B95EE313CF5B7EE95FF633C90A8F025')
prepare() {
cd "$pkgname"
git checkout "v$pkgver"
}
build() {
cd "$pkgname"
make
}
check() {
cd "$pkgname"
make -k check
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" PREFIX="/usr" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README VIOLATIONS.md -t "$pkgdir/usr/share/doc/$pkgname/"
# zsh completions
install -Dm644 contrib/_mblaze -t "$pkgdir/usr/share/zsh/site-functions/"
find contrib filter.example mlesskey.example \
-type f \
-exec install -Dm644 '{}' "$pkgdir/usr/share/$pkgname/{}" \;
}
|