blob: f25886f3ea0df7546220c79057a2e38182b34ef0 (
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
|
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
pkgname=libcintelhex-git
pkgver=r164.137212a
pkgrel=1
pkgdesc='A C library for parsing Intel HEX files'
arch=(i686 x86_64)
url='https://github.com/martin-helmich/libcintelhex'
license=(GPL3)
makedepends=(git)
checkdepends=(cunit)
source=(git://github.com/martin-helmich/libcintelhex)
sha1sums=('SKIP')
pkgver() {
cd libcintelhex
echo r$(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cd libcintelhex
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure --prefix=/usr
CCFLAGS="$CFLAGS" make
}
check() {
cd libcintelhex
make check
}
package() {
cd libcintelhex
make install DESTDIR="$pkgdir"
}
|