summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 63f9df9d849dfe9589032a62435b17ef15272860 (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
# Maintainer      : Yuu $(echo \<yuu-tutamail+com\>|sed s/\+/./g\;s/\-/@/)
# Upstream author : Cem Keylan <https://github.com/cemkeylan>

pkgname=mu-wizard-git
pkgver=0.r42.g76f5844
pkgrel=1
pkgdesc="Shell script to easily setup mu4e on Emacs"
arch=('any')
url=https://github.com/cemkeylan/mu-wizard
license=('GPL3')
depends=('isync' 'msmtp' 'mu' 'pass' 'sh')
makedepends=('git')
optdepends=('pash: alternative password manager'
            'pm: alternative password  manager')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
install="${pkgname%-git}.install"
source=("git+$url")
md5sums=('SKIP')

# Git, no tags available.
# Use number of revisions since beginning of the history.
pkgver() {
    cd "${pkgname%-git}"
    printf '0.r%s.g%s' \
           "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "$srcdir/${pkgname%-git}"
    make DESTDIR="$pkgdir/" install
    install -Dm644 README.org -t "$pkgdir/usr/share/doc/${_pkgname}/"
}