blob: a7d35c2885653cdcf4e63aea686b64b8be23d040 (
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
|
# Maintainer: Robin Broda <robin at broda dot me>
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
pkgname=('streem')
pkgver=201611
pkgrel=2
pkgdesc='prototype of stream based programming language'
arch=('x86_64')
depends=('glibc')
url="https://github.com/matz/streem"
license=('MIT')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/matz/streem/archive/${pkgver}.tar.gz"
"${pkgname}-${pkgver}-164.patch::https://github.com/matz/streem/pull/164.patch")
sha256sums=('807a9ccf3162efb061a15a333943050b329f0232cceb55492e5cd582c09a7fb4'
'46e021ff9aff8e31670f738dfd7239d14cf53c77cfa7f5ed589e28c85b7d04de')
prepare() {
cd "${pkgname}-${pkgver}"
patch src/Makefile "${srcdir}/${pkgname}-${pkgver}-164.patch"
}
build() {
cd "${pkgname}-${pkgver}"
make
}
check() {
cd "${pkgname}-${pkgver}"
make test
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm755 bin/streem "${pkgdir}/usr/bin/streem"
cd examples
find . -type f -exec install -Dm644 "{}" "${pkgdir}/usr/share/doc/${_pkgname}/examples/{}" \;
}
|