blob: 88576097b9f05a74b7fd055588698f67e1907fbb (
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
|
# Maintainer: Jenya Sovetkin <e dot sovetkin at gmail dot com>
pkgname=mail2rem-git
pkgver=r20.7f8e8a5
pkgrel=1
pkgdesc="A script that searches *.ics in your mail and puts events to your Remind calendar"
arch=('any')
url="https://github.com/esovetkin/mail2rem"
license=('BSD')
depends=('notmuch' 'gawk' 'sed' 'ical2rem' 'ripmime' 'bash')
sha256sums=('SKIP')
optdepends=('remind')
makedepends=('git')
provides=('mail2rem')
source=('git+https://github.com/esovetkin/mail2rem.git')
_gitroot=git://github.com/esovetkin/mail2rem
_gitname=mail2rem
pkgver() {
cd "${srcdir}/${_gitname}"
# Get the version number.
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_gitname}"
# Install the program
install -Dm755 mail2rem "${pkgdir}/usr/bin/mail2rem"
}
# vim:set ts=2 sw=2 et:
|