blob: 9936546fa759e812b4f46c99abeb6146abdbabdb (
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
|
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
pkgname=picotest-git
pkgver=r5.d088dc1
pkgrel=1
pkgdesc='Test::More for the C programming language'
arch=(i686 x86_64)
url='https://github.com/h2o/picotest'
license=(unknown)
makedepends=(git)
source=(git+https://github.com/h2o/picotest)
sha512sums=('SKIP')
pkgver() {
cd picotest
echo r$(git rev-list --count master).$(git rev-parse --short master)
}
package() {
cd picotest
gcc -c picotest.c -o picotest.o
ar rcs libpicotest.a picotest.o
install -D -m644 picotest.h "$pkgdir"/usr/include/picotest.h
install -D -m644 libpicotest.a "$pkgdir"/usr/lib/libpicotest.a
}
|