blob: e16f62bfc2afd2424559b4e2676e1c05b61a286a (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=asciinema
pkgver=1.0.0
pkgrel=0
pkgdesc="A Command line recorder for asciinema.org service"
url="https://github.com/asciinema/asciinema/"
arch="all"
license="GPLv3"
depends=""
depends_dev=""
makedepends="go"
install="$pkgname.post-install"
subpackages="$pkgname-doc"
source="https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
export GOPATH="$_builddir"
mkdir -p src/github.com/asciinema
ln -s "$_builddir" src/github.com/asciinema/asciinema
make build || return 1
}
package() {
cd "$_builddir"
PREFIX="$pkgdir"/usr make install || return 1
}
md5sums="82d08c97d8e15a9f7c9a114af8553356 v1.0.0.tar.gz"
sha256sums="5082606ba901e9912de91f94aabc968153fd0580209f295e00a852b8e6e456e8 v1.0.0.tar.gz"
sha512sums="83e46e90ff240a8a870f3854697b264e79c2079fae899790fa03724142680c27701abc4bfb7ec5c530776fa034846900c24d718100f1afba62cee6f334f1e479 v1.0.0.tar.gz"
|