blob: 66a95c38e205865b11ed027784446fa3823c3348 (
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
|
_pkgname=aha
pkgname=aha-git
pkgver=0.5.8.g50b5135
pkgrel=1
pkgdesc="Ansi HTML Adapter: convert ANSI escape sequences to HTML."
arch=('i686' 'x86_64')
makedepends=('git')
url="https://github.com/theZiz/aha"
license=('MPL' 'LGPL')
provides=('aha')
conflicts=('aha')
source=('git://github.com/theZiz/aha.git#branch=master')
sha512sums=('SKIP')
pkgver() {
cd -- "$srcdir/$_pkgname"
git describe --tags | sed "s/-/./g"
}
build() {
cd -- "$srcdir/$_pkgname"
make
}
package() {
cd -- "$srcdir/$_pkgname"
install -Dm755 "aha" "$pkgdir/usr/bin/aha"
install -Dm644 "aha.1" "$pkgdir/usr/share/man/man1/aha.1"
}
# vim:set ts=2 sw=2 et:
|