blob: 0f0ed19b2da65bf2e79959f5d82c0863a9355ba8 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
## Maintainer: Esaú García Sánchez-Torija <egasato.dev@gmail.com>
## Version
pkgname=make-ansi
pkgver=0.1.0
pkgrel=1
## My variables
hosting=github.com
owner=egasato
project=$pkgname
version=$pkgver
commit=f936e5c16302c5075c56bc2f5b5bdeae96dcb185
shortcommit=${commit:0:7}
gittag=v${version}
## Generic
pkgdesc="ANSI Escape Sequences for GNU Make"
arch=('any')
url="https://${hosting}/${owner}/${project}"
license=('MIT')
groups=()
depends=('make-escape')
makedepends=('make' 'coreutils' 'sed')
checkdepends=()
optdepends=('make-support')
## Package relations
provides=()
conflicts=()
replaces=()
## Others
backup=()
options=()
install=
changelog=ChangeLog
## Sources
source=(
"https://${hosting}/${owner}/${project}/-/archive/${gittag}/${project}-${gittag}.tar.bz2"
"https://downloads.sourceforge.net/project/${owner}-${project}/${gittag}/${project}-${gittag}.tar.bz2.sig"
)
noextract=()
validpgpkeys=('278775DF8230FE08784729E3DCCA6B78DD448CAE')
## Integrity
md5sums=(
'f7324c2ffa6aa454a8719d732c92497a'
'SKIP'
)
sha1sums=(
'17b6117e4f9e8d3f1380cefd6ee14e995994c19c'
'SKIP'
)
sha256sums=(
'fcade37f234f27766bf2f6bff9f653bf1fe88c2dc3e35b7e591521cbee4925e6'
'SKIP'
)
sha224sums=(
'1822e5cdc0e8cdc3f8d1e11ec6d7d04cc697d0f06e1319fd641c9b32'
'SKIP'
)
sha384sums=(
'e5f1c6049eeebc0dddd474f13b9173ab905a2127c4e87d6c67014c7bee8379e28f87c8fe2e3cb2cb2c32ab5b0ac9a266'
'SKIP'
)
sha512sums=(
'ee4a4ab4b2232f0c2d110bd17a38017756b5d1c99940cbee4f86f5afa486f9829fcedff9f29ba9b6e8ea310061d9840986282c297c87cbe60d4b04a9723d4922'
'SKIP'
)
b2sums=(
'fe82842a2cf12d41cbd2f82efce8f8f8d8efff0eba2cc260d045643ee145382f428bc954342e637a2b5dd1a9cbbde3df3b6b7a47b95ee5199cfe6c6e4c1cd5d1'
'SKIP'
)
## Packaging functions
package() {
: # Nothing to package
}
prepare() {
: # Nothing to prepare
}
build() {
: # Nothing to build
}
check() {
cd "$srcdir/${project}-${gittag}"
make test
}
package() {
cd "$srcdir/${project}-${gittag}"
make install DESTDIR="$pkgdir" \
PREFIX='/usr' \
INCLUDEDIR='$(PREFIX)/include' \
SYSCONFDIR='/etc' \
ENABLE_PROFILED_EXPORT=yes
}
|