blob: 3a55a0287321c22cc504188319b018b46d2740a0 (
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
|
# Maintainer: aksr <aksr at t-com dot me>
pkgname=neatmail-git
pkgver=r110.eb5d1a7
pkgrel=1
pkgdesc="A command-line mail client."
arch=('i686' 'x86_64')
url="http://repo.or.cz/neatmail.git"
license=('ISC')
makedepends=('git')
source=("$pkgname::git+git://repo.or.cz/neatmail.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
make
}
check() {
cd "$srcdir/$pkgname"
./test.sh
}
package() {
cd "$srcdir/$pkgname"
install -D -m755 mail $pkgdir/usr/bin/neatmail
install -D -m644 README $pkgdir/usr/share/doc/${pkgname%-*}/README
}
|